@turnkey/http
Advanced tools
Comparing version 2.1.0 to 2.2.0
# @turnkey/http | ||
## 2.2.0 | ||
### Minor Changes | ||
- Add ESM to package dist (#154) | ||
### Patch Changes | ||
- ed50a0f: simplify types | ||
## 2.1.0 | ||
@@ -22,3 +32,23 @@ | ||
- If you have policies authorizing `ACTIVITY_TYPE_SIGN_RAW_PAYLOAD` or `ACTIVITY_TYPE_SIGN_TRANSACTION` specifically, they will need to be updated to authorize `ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2` and `ACTIVITY_TYPE_SIGN_TRANSACTION_V2` (or better yet, update your policies to allow all signing actions categorically using policy resources and actions. See https://docs.turnkey.com/managing-policies/examples) | ||
- `createSubOrganization` now uses `ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4` under the hood, which utilizes wallets. The shape of the request has been updated to include the following parameter, `wallet`. Here's an example: | ||
```js | ||
{ | ||
... | ||
wallet: { | ||
walletName: "Default Wallet", | ||
accounts: [ | ||
{ | ||
curve: "CURVE_SECP256K1", | ||
pathFormat: "PATH_FORMAT_BIP32", | ||
path: "m/44'/60'/0'/0/0", | ||
addressFormat: "ADDRESS_FORMAT_ETHEREUM", | ||
}, | ||
], | ||
}, | ||
} | ||
``` | ||
See https://docs.turnkey.com/getting-started/sub-organizations for more details. | ||
## 1.3.0 | ||
@@ -25,0 +55,0 @@ |
import type { definitions } from "./__generated__/services/coordinator/public/v1/public_api.types"; | ||
type TAttestation = definitions["v1Attestation"]; | ||
type ExternalAuthenticatorTransports = AuthenticatorTransport | "hybrid"; | ||
type InternalAuthenticatorTransports = definitions["externaldatav1AuthenticatorTransport"]; | ||
type InternalAuthenticatorTransports = definitions["v1AuthenticatorTransport"]; | ||
export type TurnkeyPublicKeyCredentialRequestOptions = { | ||
@@ -6,0 +6,0 @@ timeout?: number; |
{ | ||
"name": "@turnkey/http", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"main": "./dist/index.js", | ||
"module": "./dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/index.js", | ||
"default": "./dist/esm/index.js" | ||
} | ||
}, | ||
"types": "./dist/index.d.ts", | ||
@@ -40,4 +49,5 @@ "license": "Apache-2.0", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", | ||
"clean": "rimraf ./dist ./.cache", | ||
"pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", | ||
"test": "jest", | ||
@@ -44,0 +54,0 @@ "typecheck": "tsc -p tsconfig.typecheck.json" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2356436
121
50280
2