@xmtp/node-bindings 0.0.26 → 0.0.28
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/README.md +4 -0
- package/dist/bindings_node.darwin-arm64.node +0 -0
- package/dist/bindings_node.darwin-x64.node +0 -0
- package/dist/bindings_node.linux-arm64-gnu.node +0 -0
- package/dist/bindings_node.linux-arm64-musl.node +0 -0
- package/dist/bindings_node.linux-x64-gnu.node +0 -0
- package/dist/bindings_node.linux-x64-musl.node +0 -0
- package/dist/bindings_node.win32-x64-msvc.node +0 -0
- package/dist/index.d.ts +0 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -13,3 +13,7 @@
|
|
|
13
13
|
## Testing
|
|
14
14
|
|
|
15
15
|
Before running the test suite, a local XMTP node must be running. This can be achieved by running `./dev/up` at the root of this repository. Docker is required.
|
|
16
|
+
|
|
17
|
+
# Publishing
|
|
18
|
+
|
|
19
|
+
To release a new version of the bindings, update the version in `package.json` with the appropriate semver value and add an entry to the CHANGELOG.md file. Once merged, manually trigger the `Release Node Bindings` workflow to build and publish the bindings.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -13,8 +13,6 @@ export declare class Client {
|
|
|
13
13
|
sendConsentSyncRequest(): Promise<void>
|
|
14
14
|
findInboxIdByAddress(address: string): Promise<string | null>
|
|
15
15
|
addressesFromInboxId(refreshFromNetwork: boolean, inboxIds: Array<string>): Promise<Array<InboxState>>
|
|
16
|
-
isAddressAuthorized(inboxId: string, address: string): Promise<boolean>
|
|
17
|
-
isInstallationAuthorized(inboxId: string, installationId: Uint8Array): Promise<boolean>
|
|
18
16
|
setConsentStates(records: Array<Consent>): Promise<void>
|
|
19
17
|
getConsentState(entityType: ConsentEntityType, entity: string): Promise<ConsentState>
|
|
20
18
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/node-bindings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://git@github.com/xmtp/libxmtp.git",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
|
|
40
40
|
"@napi-rs/cli": "^3.0.0-alpha.64",
|
|
41
|
-
"@types/node": "^22.
|
|
41
|
+
"@types/node": "^22.10.1",
|
|
42
42
|
"@types/uuid": "^10.0.0",
|
|
43
|
-
"prettier": "^3.
|
|
43
|
+
"prettier": "^3.4.1",
|
|
44
44
|
"prettier-plugin-packagejson": "^2.5.3",
|
|
45
45
|
"typescript": "^5.7.2",
|
|
46
46
|
"uuid": "^11.0.3",
|
|
47
47
|
"viem": "^2.21.47",
|
|
48
|
-
"vite": "^
|
|
48
|
+
"vite": "^6.0.1",
|
|
49
49
|
"vite-tsconfig-paths": "^5.1.2",
|
|
50
50
|
"vitest": "^2.1.5"
|
|
51
51
|
},
|