Skip to content

Commit

Permalink
chore(release): prepare for release (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch authored Jan 22, 2024
1 parent 275ff20 commit b2e4770
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 17 deletions.
2 changes: 1 addition & 1 deletion examples/integrated-flows-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"numbers:app": "ts-node src/numbers/app.ts"
},
"dependencies": {
"@sinch/sdk-core": "^0.0.0",
"@sinch/sdk-core": "^0.0.1",
"@types/node": "^20.8.7",
"dotenv": "^16.3.1",
"typescript": "^5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"voice:conferences:kickAll": "ts-node src/voice/conferences/kickAll.ts"
},
"dependencies": {
"@sinch/sdk-core": "^0.0.0",
"@sinch/sdk-core": "^0.0.1",
"dotenv": "^16.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/webhooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@nestjs/common": "^10.3.0",
"@nestjs/core": "^10.3.0",
"@nestjs/platform-express": "^10.3.0",
"@sinch/sdk-core": "^0.0.0",
"@sinch/sdk-core": "^0.0.1",
"dotenv": "^16.3.1",
"raw-body": "^2.5.2",
"reflect-metadata": "^0.1.13",
Expand Down
10 changes: 10 additions & 0 deletions packages/numbers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Version 0.0.1

- Update dependency to @sinch/sdk-client to `0.0.1`
- Update specification
- ListAvailableRegionsRequestData: `types` became an array
- ActiveNumberRequest: added the property `callbackUrl`
- `CallbackConfiguration` tag changed to `Callbacks`
- Webhooks
- `CallbackPayload` interface created
- Add the method `parseNumbersEventNotification` to call when receiving a callback event to transform it into a `CallbackPayload`
4 changes: 2 additions & 2 deletions packages/numbers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/numbers",
"version": "0.0.0",
"version": "0.0.1",
"description": "Sinch Numbers API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests && rimraf tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.0"
"@sinch/sdk-client": "^0.0.1"
},
"devDependencies": {},
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Version 0.0.1

- [Feat.] Add method `formatQueryParameter` that take an optional boolean parameter `repeatParamArray` to decide how to represent parameters arrays in the URL as all the APIs are not consistent
- [Tech.] Refactor `imports` and `exports` to break the circular dependencies introduced by the automatic refresh token mechanism
- [Feat.] Add `TimezoneResponse` plugin to the list of default plugins to patch responses where the server doesn't send a timezone in a timestamp property
- [Feat.] Add `validateAuthenticationHeader` function to check whether a callback event has been tampered or not
2 changes: 1 addition & 1 deletion packages/sdk-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sdk-client",
"version": "0.0.0",
"version": "0.0.1",
"description": "Core services related to interacting with Sinch API",
"homepage": "",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Version 0.0.1

- Update dependency to @sinch/numbers to `0.0.1`
- Update dependency to @sinch/sms to `0.0.1`
- Update dependency to @sinch/verification to `0.0.1`
- Add support for the Voice API with @sinch/voice version `0.0.1`
10 changes: 5 additions & 5 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sdk-core",
"version": "0.0.0",
"version": "0.0.1",
"description": "Node.js client for the Sinch API platform",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -29,10 +29,10 @@
"compile": "tsc --build --verbose"
},
"dependencies": {
"@sinch/numbers": "^0.0.0",
"@sinch/sms": "^0.0.0",
"@sinch/verification": "^0.0.0",
"@sinch/voice": "^0.0.0"
"@sinch/numbers": "^0.0.1",
"@sinch/sms": "^0.0.1",
"@sinch/verification": "^0.0.1",
"@sinch/voice": "^0.0.1"
},
"devDependencies": {},
"publishConfig": {
Expand Down
4 changes: 4 additions & 0 deletions packages/sms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Version 0.0.1

- Update dependency to @sinch/sdk-client to `0.0.1`
- Add the method `parseSmsEventNotification` to call when receiving a callback event to transform it into the correct type
4 changes: 2 additions & 2 deletions packages/sms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sms",
"version": "0.0.0",
"version": "0.0.1",
"description": "Sinch SMS API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.0"
"@sinch/sdk-client": "^0.0.1"
},
"devDependencies": {},
"publishConfig": {
Expand Down
4 changes: 4 additions & 0 deletions packages/verification/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Version 0.0.1

- Update dependency to @sinch/sdk-client to `0.0.1`
- Add the method `parseVerificationEventNotification` to call when receiving a callback event to transform it into the correct type
4 changes: 2 additions & 2 deletions packages/verification/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/verification",
"version": "0.0.0",
"version": "0.0.1",
"description": "Sinch Verification API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.0"
"@sinch/sdk-client": "^0.0.1"
},
"devDependencies": {},
"publishConfig": {
Expand Down
3 changes: 3 additions & 0 deletions packages/voice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Version 0.0.1

- Initial version
4 changes: 2 additions & 2 deletions packages/voice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/voice",
"version": "0.0.0",
"version": "0.0.1",
"description": "Sinch Voice API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.0"
"@sinch/sdk-client": "^0.0.1"
},
"devDependencies": {},
"publishConfig": {
Expand Down

0 comments on commit b2e4770

Please sign in to comment.