@bounded-sh/server 0.0.62 → 0.0.65

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.
@@ -9,6 +9,13 @@ export interface WebhookPayload {
9
9
  document: Record<string, any> | null;
10
10
  previousDocument: Record<string, any> | null;
11
11
  timestamp: number;
12
+ /**
13
+ * SHW-05: stable per-delivery id (also in the `X-Bounded-Delivery-Id` header),
14
+ * REUSED across every retry of one delivery. Delivery is durable + at-least-
15
+ * once, so dedupe on THIS - not the timestamp or signature, which change per
16
+ * retry. Optional so a payload signed before the field existed still verifies.
17
+ */
18
+ deliveryId?: string;
12
19
  }
13
20
  export interface WebhookPublicKey {
14
21
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bounded-sh/server",
3
- "version": "0.0.62",
3
+ "version": "0.0.65",
4
4
  "description": "Node and server SDK for Bounded, the full-stack app builder and runtime for AI-built apps: keypair-authenticated data, files and search, functions, realtime, webhook verification, and atomic writes.",
5
5
  "homepage": "https://bounded.sh/docs/sdk",
6
6
  "main": "./dist/index.js",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "scripts": {
17
17
  "build": "rm -rf ./dist ./.rollup-tmp && tsc -p tsconfig.build.json --outDir .rollup-tmp --declarationDir .rollup-tmp --emitDeclarationOnly false && rollup -c && tsc -p tsconfig.build.json --emitDeclarationOnly --declarationDir dist && rm -rf ./.rollup-tmp",
18
- "test": "node src/auth/providers/run-solana-keypair-blockhash-test.mjs && node src/auth/providers/evm-keypair-provider.source.test.mjs && node src/run-server-global-provider-test.mjs && node --test src/webhooks.test.mjs",
18
+ "test": "node src/auth/providers/run-solana-keypair-blockhash-test.mjs && node src/auth/providers/evm-keypair-provider.source.test.mjs && node src/run-server-global-provider-test.mjs && node src/wallet-client-config-binding.source.test.mjs && node --test src/webhooks.test.mjs",
19
19
  "watch": "rollup -c -w",
20
20
  "prepare": "npm run build"
21
21
  },
@@ -51,7 +51,7 @@
51
51
  "typescript": "5.9.3"
52
52
  },
53
53
  "dependencies": {
54
- "@bounded-sh/core": "0.0.62",
54
+ "@bounded-sh/core": "0.0.65",
55
55
  "@coral-xyz/anchor": "0.31.1",
56
56
  "@solana/web3.js": "1.98.4",
57
57
  "axios": "1.18.1",