@swarm-tips/client 0.1.0 → 0.1.1

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/SBOM.spdx.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "spdxVersion": "SPDX-2.3",
3
3
  "dataLicense": "CC0-1.0",
4
4
  "SPDXID": "SPDXRef-DOCUMENT",
5
- "name": "@swarm-tips/client-0.1.0",
6
- "documentNamespace": "https://swarm.tips/sbom/client/0.1.0",
5
+ "name": "@swarm-tips/client-0.1.1",
6
+ "documentNamespace": "https://swarm.tips/sbom/client/0.1.1",
7
7
  "creationInfo": {
8
- "created": "2026-09-05T06:37:39.869Z",
8
+ "created": "2026-09-08T02:44:57.447Z",
9
9
  "creators": [
10
10
  "Tool: sdk/client/scripts/generate-sbom.mjs",
11
11
  "Organization: Swarm Tips"
@@ -15,8 +15,8 @@
15
15
  {
16
16
  "name": "@swarm-tips/client",
17
17
  "SPDXID": "SPDXRef-Package",
18
- "versionInfo": "0.1.0",
19
- "downloadLocation": "https://www.npmjs.com/package/@swarm-tips/client/v/0.1.0",
18
+ "versionInfo": "0.1.1",
19
+ "downloadLocation": "https://www.npmjs.com/package/@swarm-tips/client/v/0.1.1",
20
20
  "filesAnalyzed": false,
21
21
  "licenseConcluded": "MIT",
22
22
  "licenseDeclared": "MIT"
@@ -3,7 +3,7 @@ import { PublicKey, TransactionInstruction } from "@solana/web3.js";
3
3
  import { Buffer } from "buffer";
4
4
  import coordinationGameIdl from "./idl/coordination_game.json" with { type: "json" };
5
5
  import shillbotIdl from "./idl/shillbot.json" with { type: "json" };
6
- const anchorRuntime = anchor.default ?? anchor;
6
+ const anchorRuntime = Reflect.get(anchor, "default") ?? anchor;
7
7
  const { BN, BorshInstructionCoder } = anchorRuntime;
8
8
  /** Canonical raw Anchor IDLs used for runtime instruction encoding. */
9
9
  export const COORDINATION_GAME_IDL = coordinationGameIdl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarm-tips/client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Typed browser and Node.js clients for Swarm Tips, Shillbot, and Coordination Game",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,31 +9,38 @@
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
- "import": "./dist/index.js"
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.js"
13
14
  },
14
15
  "./shillbot": {
15
16
  "types": "./dist/shillbot/index.d.ts",
16
- "import": "./dist/shillbot/index.js"
17
+ "import": "./dist/shillbot/index.js",
18
+ "require": "./dist/shillbot/index.js"
17
19
  },
18
20
  "./coordination-game": {
19
21
  "types": "./dist/coordination-game/index.d.ts",
20
- "import": "./dist/coordination-game/index.js"
22
+ "import": "./dist/coordination-game/index.js",
23
+ "require": "./dist/coordination-game/index.js"
21
24
  },
22
25
  "./evm": {
23
26
  "types": "./dist/evm/index.d.ts",
24
- "import": "./dist/evm/index.js"
27
+ "import": "./dist/evm/index.js",
28
+ "require": "./dist/evm/index.js"
25
29
  },
26
30
  "./evm/testing": {
27
31
  "types": "./dist/evm/testing.d.ts",
28
- "import": "./dist/evm/testing.js"
32
+ "import": "./dist/evm/testing.js",
33
+ "require": "./dist/evm/testing.js"
29
34
  },
30
35
  "./inbox": {
31
36
  "types": "./dist/inbox/index.d.ts",
32
- "import": "./dist/inbox/index.js"
37
+ "import": "./dist/inbox/index.js",
38
+ "require": "./dist/inbox/index.js"
33
39
  },
34
40
  "./vow": {
35
41
  "types": "./dist/vow/index.d.ts",
36
- "import": "./dist/vow/index.js"
42
+ "import": "./dist/vow/index.js",
43
+ "require": "./dist/vow/index.js"
37
44
  },
38
45
  "./idl/shillbot": "./dist/contracts/idl/shillbot.json",
39
46
  "./idl/coordination-game": "./dist/contracts/idl/coordination_game.json",