Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Vonage/vonage-node-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @vonage/server-sdk@3.7.2
Choose a base ref
...
head repository: Vonage/vonage-node-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @vonage/server-sdk@3.8.0
Choose a head ref
  • 8 commits
  • 74 files changed
  • 3 contributors

Commits on Aug 9, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    52fae4a View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8dd49dd View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6bce17b View commit details
  4. build: updating actions

    manchuck committed Aug 9, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    manchuck Chuck Reeves
    Copy the full SHA
    3398e96 View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dcab7ab View commit details

Commits on Aug 14, 2023

  1. feat: users package (#845)

    manchuck authored Aug 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4f623b5 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    43fb081 View commit details
  3. Publish

     - @vonage/accounts@1.7.0
     - @vonage/applications@1.7.0
     - @vonage/audit@1.7.0
     - @vonage/meetings@1.3.0
     - @vonage/messages@1.8.0
     - @vonage/number-insights@1.7.0
     - @vonage/numbers@1.7.0
     - @vonage/pricing@1.7.0
     - @vonage/proactive-connect@1.4.0
     - @vonage/redact@1.6.0
     - @vonage/server-client@1.7.0
     - @Vonage/server-sdk@3.8.0
     - @vonage/sms@1.7.0
     - @vonage/subaccounts@1.3.0
     - @vonage/users@1.1.0
     - @Vonage/verify@1.7.0
     - @vonage/verify2@1.6.0
     - @vonage/vetch@1.5.0
     - @vonage/video@1.10.0
     - @vonage/voice@1.7.0
    manchuck committed Aug 14, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    manchuck Chuck Reeves
    Copy the full SHA
    9158503 View commit details
Showing with 1,137 additions and 15,879 deletions.
  1. +16 −28 .github/workflows/ci.yml
  2. +1 −1 .gitignore
  3. +1 −0 README.md
  4. +5 −0 jest.config.ts
  5. +0 −15,736 package-lock.json
  6. +2 −2 packages/accounts/package.json
  7. +3 −3 packages/applications/package.json
  8. +3 −3 packages/audit/package.json
  9. +3 −3 packages/meetings/package.json
  10. +3 −3 packages/messages/package.json
  11. +3 −3 packages/number-insights/package.json
  12. +3 −3 packages/numbers/package.json
  13. +3 −3 packages/pricing/package.json
  14. +2 −2 packages/proactive-connect/package.json
  15. +2 −2 packages/redact/package.json
  16. +1 −0 packages/server-client/README.md
  17. +9 −8 packages/server-client/lib/types/ConfigParams.ts
  18. +2 −2 packages/server-client/package.json
  19. +1 −0 packages/server-sdk/README.md
  20. +5 −2 packages/server-sdk/lib/vonage.ts
  21. +14 −13 packages/server-sdk/package.json
  22. +4 −1 packages/server-sdk/tsconfig.json
  23. +2 −2 packages/sms/package.json
  24. +2 −2 packages/subaccounts/package.json
  25. +71 −0 packages/users/README.md
  26. +62 −0 packages/users/__tests__/__dataSets__/create.ts
  27. +14 −0 packages/users/__tests__/__dataSets__/delete.ts
  28. +44 −0 packages/users/__tests__/__dataSets__/get.ts
  29. +28 −0 packages/users/__tests__/__dataSets__/index.ts
  30. +163 −0 packages/users/__tests__/__dataSets__/list.ts
  31. +32 −0 packages/users/__tests__/__dataSets__/put.ts
  32. +102 −0 packages/users/__tests__/common.ts
  33. +28 −0 packages/users/__tests__/private.test.key
  34. +78 −0 packages/users/__tests__/user.test.ts
  35. +1 −0 packages/users/lib/enums/index.ts
  36. +4 −0 packages/users/lib/enums/userSort.ts
  37. +3 −0 packages/users/lib/index.ts
  38. +13 −0 packages/users/lib/types/index.ts
  39. +3 −0 packages/users/lib/types/messengerChannel.ts
  40. +3 −0 packages/users/lib/types/mmsChannel.ts
  41. +1 −0 packages/users/lib/types/parameters/index.ts
  42. +8 −0 packages/users/lib/types/parameters/userListParameters.ts
  43. +3 −0 packages/users/lib/types/pstnChannel.ts
  44. +2 −0 packages/users/lib/types/requests/index.ts
  45. +12 −0 packages/users/lib/types/requests/userRequest.ts
  46. +5 −0 packages/users/lib/types/requests/websocketChannelRequest.ts
  47. +3 −0 packages/users/lib/types/responses/index.ts
  48. +9 −0 packages/users/lib/types/responses/userPageResponse.ts
  49. +4 −0 packages/users/lib/types/responses/userResponse.ts
  50. +5 −0 packages/users/lib/types/responses/websocketChannelResponse.ts
  51. +5 −0 packages/users/lib/types/sipChannel.ts
  52. +3 −0 packages/users/lib/types/smsChannel.ts
  53. +30 −0 packages/users/lib/types/userType.ts
  54. +3 −0 packages/users/lib/types/vbcChannel.ts
  55. +3 −0 packages/users/lib/types/viberChannel.ts
  56. +5 −0 packages/users/lib/types/websocketChannel.ts
  57. +3 −0 packages/users/lib/types/whatsappChannel.ts
  58. +143 −0 packages/users/lib/user.ts
  59. +35 −0 packages/users/package.json
  60. +24 −0 packages/users/tsconfig.json
  61. +3 −3 packages/verify/package.json
  62. +2 −2 packages/verify2/package.json
  63. +27 −7 packages/vetch/__tests__/vetch.test.ts
  64. +22 −21 packages/vetch/lib/interfaces/vetchOptions.ts
  65. +24 −10 packages/vetch/lib/vetch.ts
  66. +1 −1 packages/vetch/package.json
  67. +3 −3 packages/video/package.json
  68. +2 −2 packages/voice/lib/classes/Endpoint/WebsocketEndpoint.ts
  69. +1 −1 packages/voice/lib/classes/NCCO/Connect.ts
  70. +1 −1 packages/voice/lib/classes/NCCO/Conversation.ts
  71. +1 −1 packages/voice/lib/classes/NCCO/Record.ts
  72. +1 −1 packages/voice/lib/classes/NCCO/Stream.ts
  73. +1 −1 packages/voice/lib/types/Endpoint/WebsocketEndpoint.ts
  74. +3 −3 packages/voice/package.json
44 changes: 16 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -6,42 +6,30 @@ on:
pull_request:
jobs:
test:
continue-on-error: ${{ matrix.experimental }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: [16.x, 18.x, 20.x]
experimental: [false]
include:
- os: ubuntu-latest
node: 14
experimental: true
npm_version: "@8.3.1"
- os: windows-latest
node: 14
experimental: true
npm_version: "@8.3.1"
- os: macos-latest
node: 14
experimental: true
npm_version: "@8.3.1"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Set up Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Set up Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Install typescript
run: npm install -g typescript npm${{ matrix.npm_version }} && npm install
- name: Install typescript
run: npm install -g typescript npm${{ matrix.npm_version }}

- name: Lint, Compile, Test
run: npm run compile && npm run test -- --coverage --verbose --maxWorkers=2
- name: Install packages
run: npm install

- name: Run codecov
uses: codecov/codecov-action@v3
with:
directory: ./coverage
- name: Lint, Compile, Test
run: npm run compile && npm run test -- --coverage --verbose --maxWorkers=2

- name: Run codecov
uses: codecov/codecov-action@v3
with:
directory: ./coverage
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -18,4 +18,4 @@ typings
packages/**/dist
tsconfig.tsbuildinfo
lerna-debug.log
.vscode/
package-lock.json
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -117,6 +117,7 @@ The following is a list of Vonage APIs and whether the Node Server SDK provides
| Reports API | Beta ||
| SMS API | General Availability ||
| Sub Accounts | Beta ||
| Users | General Availability ||
| Verify API | General Availability ||
| Verify v2 API | General Availability ||
| Voice API | General Availability ||
5 changes: 5 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -89,6 +89,11 @@ const config: Config.InitialOptions = {
testMatch: ['<rootDir>/packages/subaccounts/__tests__/**/*.test.ts'],
coveragePathIgnorePatterns: ['node_modules', '__tests__'],
},
{
displayName: 'USER',
testMatch: ['<rootDir>/packages/users/__tests__/**/*.test.ts'],
coveragePathIgnorePatterns: ['node_modules', '__tests__'],
},
{
displayName: 'VERIFY',
testMatch: ['<rootDir>/packages/verify/__tests__/**/*.test.ts'],
Loading