@xmtp/xmtp-js
Advanced tools
Comparing version 11.0.0-beta.8 to 11.0.0-beta.9
@@ -757,2 +757,6 @@ import { signature, publicKey, ciphertext, privateKey, authn, keystore, invitation, messageApi, content, message } from '@xmtp/proto'; | ||
disablePersistenceEncryption: boolean; | ||
/** | ||
* A single option to allow Metamask Snaps to be used as a keystore provider | ||
*/ | ||
useSnaps: boolean; | ||
}; | ||
@@ -825,2 +829,8 @@ declare type LegacyOptions = { | ||
static getKeys(wallet: Signer | null, opts?: Partial<ClientOptions>): Promise<Uint8Array>; | ||
/** | ||
* Tells the caller whether `getKeys` will work for them or throw | ||
* Right now, this is only true if the user has Metamask with Snaps | ||
* and has enabled the `useSnaps` option | ||
*/ | ||
static isSnapsReady(): Promise<boolean>; | ||
private static setupBackupClient; | ||
@@ -827,0 +837,0 @@ private init; |
{ | ||
"name": "@xmtp/xmtp-js", | ||
"version": "11.0.0-beta.8", | ||
"version": "11.0.0-beta.9", | ||
"description": "XMTP client SDK for interacting with XMTP networks.", | ||
@@ -31,2 +31,3 @@ "type": "module", | ||
"prepublishOnly": "npm run build", | ||
"updateSnapVersion": "npm view @xmtp/snap --json | jq '{\"version\": .version, \"package\": .name}' > ./src/snapInfo.json", | ||
"test:setup": "./dev/up", | ||
@@ -118,3 +119,3 @@ "test:teardown": "./dev/down", | ||
"husky": "^7.0.4", | ||
"jest": "^28.1.3", | ||
"jest": "^29.6.0", | ||
"jest-environment-jsdom": "^28.1.3", | ||
@@ -124,3 +125,3 @@ "prettier": "^2.4.0", | ||
"semantic-release": "^21.0.3", | ||
"ts-jest": "^28.0.0", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
@@ -127,0 +128,0 @@ "tsup": "^6.7.0", |
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 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 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
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
1787963
13879