@turnkey/http 2.21.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +57 -2
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +9297 -1163
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +85 -9
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -7
- package/dist/index.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,55 @@
|
|
|
1
1
|
# @turnkey/http
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- f94d36e: Remove deprecated TurnkeyApiService. TurnkeyApi should be used instead.
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- d1083bd: New activity `INIT_OTP_AUTH_V2` which allows alphanumeric boolean and otpLength (6-9) to be passed
|
|
12
|
+
|
|
13
|
+
- This release introduces the `INIT_OTP_AUTH_V2` activity. The difference between it and `INIT_OTP_AUTH` is that it can now accept `alphanumeric` and `otpLength` for selecting crockford bech32 alphanumeric codes and the length of those codes. By default alphanumeric = true, otpLength = 9
|
|
14
|
+
|
|
15
|
+
- This release introduces `sendFromEmailSenderName` to `INIT_OTP_AUTH`, `INIT_OTP_AUTH_V2`, `EMAIL_AUTH` and `EMAIL_AUTH_V2`. This is an optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'.
|
|
16
|
+
|
|
17
|
+
## 2.22.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- ecdb29a: Update API as per mono v2025.3.2
|
|
22
|
+
|
|
23
|
+
- This release introduces the `CREATE_USERS_V3` activity. The difference between it and `CREATE_USERS_V2` is that it can now accept `userPhoneNumber` and `oauthProviders`. In total, it accepts the following parameters:
|
|
24
|
+
|
|
25
|
+
```javascript
|
|
26
|
+
/** @description A list of Users. */
|
|
27
|
+
users: {
|
|
28
|
+
/** @description Human-readable name for a User. */
|
|
29
|
+
userName: string;
|
|
30
|
+
/** @description The user's email address. */
|
|
31
|
+
userEmail?: string;
|
|
32
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
33
|
+
userPhoneNumber?: string;
|
|
34
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
35
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
36
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
37
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
38
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
39
|
+
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
40
|
+
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
41
|
+
userTags: string[];
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
See [source code](https://github.com/tkhq/sdk/blob/60c0c03440785b841d1f6f393612046423dc665f/packages/http/src/__generated__/services/coordinator/public/v1/public_api.types.ts#L2894-L2909) to view details on the nested types.
|
|
46
|
+
|
|
3
47
|
## 2.21.0
|
|
4
48
|
|
|
5
49
|
### Minor Changes
|
|
6
50
|
|
|
7
|
-
- 56a307e: Update
|
|
51
|
+
- 56a307e: Update API to mono v2025.3.0
|
|
52
|
+
- This release introduces an `invalidateExisting` flag to the `CreateReadWriteSession` and `Oauth` activities. If enabled, this will invalidate existing read-write and oauth API keys. This is useful in scenarios where a user attempts to create numerous `ReadWrite` or `Oauth` sessions. Because our API caps the number of session keys associated with a user, this flag can clear all other existing session keys of that specific type (e.g. setting `invalidateExisting: true` for `CreateReadWriteSession` will invalidate all previously created read-write session keys)
|
|
8
53
|
|
|
9
54
|
## 2.20.0
|
|
10
55
|
|
|
@@ -16,7 +61,17 @@
|
|
|
16
61
|
|
|
17
62
|
### Minor Changes
|
|
18
63
|
|
|
19
|
-
- 57f9cb0: Update endpoints - surface GetWalletAccount
|
|
64
|
+
- 57f9cb0: Update endpoints - surface `GetWalletAccount`. This endpoint takes in the following args:
|
|
65
|
+
```javascript
|
|
66
|
+
/** @description Unique identifier for a given Organization. */
|
|
67
|
+
organizationId: string;
|
|
68
|
+
/** @description Unique identifier for a given Wallet. */
|
|
69
|
+
walletId: string;
|
|
70
|
+
/** @description Address corresponding to a Wallet Account. */
|
|
71
|
+
address?: string;
|
|
72
|
+
/** @description Path corresponding to a Wallet Account. */
|
|
73
|
+
path?: string;
|
|
74
|
+
```
|
|
20
75
|
|
|
21
76
|
## 2.18.0
|
|
22
77
|
|