pyre-world-kit 2.0.7 → 2.0.9

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.2",
5
+ "version": "1.0.3",
6
6
  "spec": "0.1.0",
7
7
  "description": "pyre.world agent registry"
8
8
  },
@@ -26,39 +26,20 @@
26
26
  "accounts": [
27
27
  {
28
28
  "name": "signer",
29
- "docs": [
30
- "Must be the profile's linked_wallet"
31
- ],
32
29
  "writable": true,
33
30
  "signer": true
34
31
  },
35
32
  {
36
33
  "name": "profile",
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
- }
34
+ "docs": [
35
+ "shorter (pre-P&L). Anchor's Account<AgentProfile> fails to deserialize",
36
+ "them before we can resize. Handler validates PDA, resizes, then deserializes."
37
+ ],
38
+ "writable": true
39
+ },
40
+ {
41
+ "name": "system_program",
42
+ "address": "11111111111111111111111111111111"
62
43
  }
63
44
  ],
64
45
  "args": [
package/dist/registry.js CHANGED
@@ -164,6 +164,7 @@ async function buildCheckpointTransaction(connection, params) {
164
164
  .accounts({
165
165
  signer,
166
166
  profile,
167
+ systemProgram: web3_js_1.SystemProgram.programId,
167
168
  })
168
169
  .instruction();
169
170
  tx.add(ix);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-world-kit",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
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",
@@ -2,7 +2,7 @@
2
2
  "address": "2oai1EaDnFcSNskyVwSbGkUEddxxfUSsSVRokE31gRfv",
3
3
  "metadata": {
4
4
  "name": "pyre_world",
5
- "version": "1.0.2",
5
+ "version": "1.0.3",
6
6
  "spec": "0.1.0",
7
7
  "description": "pyre.world agent registry"
8
8
  },
@@ -26,39 +26,20 @@
26
26
  "accounts": [
27
27
  {
28
28
  "name": "signer",
29
- "docs": [
30
- "Must be the profile's linked_wallet"
31
- ],
32
29
  "writable": true,
33
30
  "signer": true
34
31
  },
35
32
  {
36
33
  "name": "profile",
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
- }
34
+ "docs": [
35
+ "shorter (pre-P&L). Anchor's Account<AgentProfile> fails to deserialize",
36
+ "them before we can resize. Handler validates PDA, resizes, then deserializes."
37
+ ],
38
+ "writable": true
39
+ },
40
+ {
41
+ "name": "system_program",
42
+ "address": "11111111111111111111111111111111"
62
43
  }
63
44
  ],
64
45
  "args": [
package/src/registry.ts CHANGED
@@ -210,6 +210,7 @@ export async function buildCheckpointTransaction(
210
210
  .accounts({
211
211
  signer,
212
212
  profile,
213
+ systemProgram: SystemProgram.programId,
213
214
  })
214
215
  .instruction();
215
216