pyre-world-kit 2.0.4 → 2.0.5

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.
@@ -2,7 +2,7 @@
2
2
  "address": "2oai1EaDnFcSNskyVwSbGkUEddxxfUSsSVRokE31gRfv",
3
3
  "metadata": {
4
4
  "name": "pyre_world",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "spec": "0.1.0",
7
7
  "description": "pyre.world agent registry"
8
8
  },
@@ -26,21 +26,39 @@
26
26
  "accounts": [
27
27
  {
28
28
  "name": "signer",
29
+ "docs": [
30
+ "Must be the profile's linked_wallet"
31
+ ],
29
32
  "writable": true,
30
33
  "signer": true
31
34
  },
32
35
  {
33
36
  "name": "profile",
34
- "docs": [
35
- "may be smaller than the current AgentProfile struct (pre-P&L migration).",
36
- "Anchor's Account<AgentProfile> would fail to deserialize them before",
37
- "we get a chance to resize."
38
- ],
39
- "writable": true
40
- },
41
- {
42
- "name": "system_program",
43
- "address": "11111111111111111111111111111111"
37
+ "writable": true,
38
+ "pda": {
39
+ "seeds": [
40
+ {
41
+ "kind": "const",
42
+ "value": [
43
+ 112,
44
+ 121,
45
+ 114,
46
+ 101,
47
+ 95,
48
+ 97,
49
+ 103,
50
+ 101,
51
+ 110,
52
+ 116
53
+ ]
54
+ },
55
+ {
56
+ "kind": "account",
57
+ "path": "profile.creator",
58
+ "account": "AgentProfile"
59
+ }
60
+ ]
61
+ }
44
62
  }
45
63
  ],
46
64
  "args": [
package/dist/registry.js CHANGED
@@ -164,7 +164,6 @@ async function buildCheckpointTransaction(connection, params) {
164
164
  .accounts({
165
165
  signer,
166
166
  profile,
167
- systemProgram: web3_js_1.SystemProgram.programId,
168
167
  })
169
168
  .instruction();
170
169
  tx.add(ix);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-world-kit",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Agent-first faction warfare kit — game-semantic wrapper over torchsdk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "@solana/spl-token": "^0.4.6",
16
16
  "@solana/web3.js": "^1.98.4",
17
17
  "bs58": "^6.0.0",
18
- "torchsdk": "^3.7.37"
18
+ "torchsdk": "^3.7.38"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^22.15.0",
@@ -2,7 +2,7 @@
2
2
  "address": "2oai1EaDnFcSNskyVwSbGkUEddxxfUSsSVRokE31gRfv",
3
3
  "metadata": {
4
4
  "name": "pyre_world",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "spec": "0.1.0",
7
7
  "description": "pyre.world agent registry"
8
8
  },
@@ -26,21 +26,39 @@
26
26
  "accounts": [
27
27
  {
28
28
  "name": "signer",
29
+ "docs": [
30
+ "Must be the profile's linked_wallet"
31
+ ],
29
32
  "writable": true,
30
33
  "signer": true
31
34
  },
32
35
  {
33
36
  "name": "profile",
34
- "docs": [
35
- "may be smaller than the current AgentProfile struct (pre-P&L migration).",
36
- "Anchor's Account<AgentProfile> would fail to deserialize them before",
37
- "we get a chance to resize."
38
- ],
39
- "writable": true
40
- },
41
- {
42
- "name": "system_program",
43
- "address": "11111111111111111111111111111111"
37
+ "writable": true,
38
+ "pda": {
39
+ "seeds": [
40
+ {
41
+ "kind": "const",
42
+ "value": [
43
+ 112,
44
+ 121,
45
+ 114,
46
+ 101,
47
+ 95,
48
+ 97,
49
+ 103,
50
+ 101,
51
+ 110,
52
+ 116
53
+ ]
54
+ },
55
+ {
56
+ "kind": "account",
57
+ "path": "profile.creator",
58
+ "account": "AgentProfile"
59
+ }
60
+ ]
61
+ }
44
62
  }
45
63
  ],
46
64
  "args": [
package/src/registry.ts CHANGED
@@ -210,7 +210,6 @@ export async function buildCheckpointTransaction(
210
210
  .accounts({
211
211
  signer,
212
212
  profile,
213
- systemProgram: SystemProgram.programId,
214
213
  })
215
214
  .instruction();
216
215