@crowdedkingdoms/crowdy-dsh 0.4.9-test.1 → 0.4.10-dev.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.
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "package": "@crowdedkingdoms/crowdy-dsh",
3
- "version": "0.4.9",
4
- "builtAt": "2026-10-16T03:04:33.894Z",
3
+ "version": "0.4.10",
4
+ "builtAt": "2026-10-20T04:39:36.604Z",
5
5
  "source": {
6
6
  "repository": "CrowdedKingdoms/crowdy-dsh",
7
- "commit": "0efa85e34e54e16024e31f20021e14698c2d24dd",
7
+ "commit": "294a2c903b16b33b5b5043731f741132ac61f310",
8
8
  "dirty": false
9
9
  },
10
10
  "upstream": {
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "crowdyjs": {
17
17
  "name": "@crowdedkingdoms/crowdyjs",
18
- "version": "18.13.0-test.1",
18
+ "version": "18.14.0-dev.1",
19
19
  "source": "node_modules"
20
20
  },
21
21
  "files": {
@@ -112,7 +112,7 @@
112
112
  "manifest.webmanifest": "sha256:9b54d57eea00f2fdd1affe6e7999a4209a515755f12ac1a3299da2d55e178d4c",
113
113
  "preview/bootstrap-CYECZNXt.js": "sha256:9f303a0485c0badfdd19fad0c357ef050c5b9a343744ab5bf0c70015e7d95092",
114
114
  "preview/crowdy-boot-Cklh1qNl.js": "sha256:b21e8eb126e1cd8a52159d2d577e610df6c8af36a436f9ed5028cfabd11a85ff",
115
- "preview/vfs-image.tar.gz": "sha256:0bc499f5a3a67925a5cdb7c1f1b133760471874df4807441614a3909c397f7fe",
115
+ "preview/vfs-image.tar.gz": "sha256:a9aeba28c59aaaf9040facd235c1fc584f5dcebc993f20f7f9a1bf083706291c",
116
116
  "preview/worker-C8-_ANaz.js": "sha256:81099e5732dfe0c32bacd5897316b7956c5a0a22da01b4a0c6e21d0a3b9d9aa1"
117
117
  }
118
118
  }
@@ -4684,7 +4684,8 @@ function createClient(options) {
4684
4684
  } : {
4685
4685
  type: MessageType.Pong
4686
4686
  // payload is completely absent if not provided
4687
- }
4687
+ },
4688
+ replacer
4688
4689
  )
4689
4690
  );
4690
4691
  emitter.emit("pong", false, message.payload);
@@ -9222,7 +9223,10 @@ var EXEC_STATUSES = [
9222
9223
  "Unavailable",
9223
9224
  "Internal",
9224
9225
  "Trapped",
9225
- "BadRequest"
9226
+ "BadRequest",
9227
+ "AppPaused",
9228
+ "AppDisabled",
9229
+ "TypeDisabled"
9226
9230
  ];
9227
9231
  function execStatus(value) {
9228
9232
  return EXEC_STATUSES[value] ?? "Unknown";
@@ -15556,10 +15560,12 @@ var VoxelsAPI = class {
15556
15560
  }
15557
15561
  /**
15558
15562
  * Record (upsert) a single voxel edit in the `voxel_updates` log for one chunk.
15559
- * **Writes world state**; a background job later folds the edit into the
15560
- * chunk's packed grid. Requires voxel-edit permission for the target region:
15561
- * active app access plus the `update_voxel_data` runtime permission (and, where
15562
- * grids cover the chunk, `update_voxel_data` on a covering grid).
15563
+ * **Writes world state**; `getChunk` returns the edit in the chunk's
15564
+ * `voxelStates` (the packed grid is written only by `updateChunk`). Requires
15565
+ * voxel-edit permission for the target region: active app access, the
15566
+ * `update_voxel_data` tier permission, and `update_voxel_data` on the most
15567
+ * specific grid covering the chunk. A chunk no grid covers is refused, and so
15568
+ * is one only the app's world grid covers while its wilderness is closed.
15563
15569
  *
15564
15570
  * @param input - {@link UpdateVoxelInput}: `appId`, chunk `coordinates`, the
15565
15571
  * local voxel `location` and the `voxelType` to write (app-defined
@@ -18203,14 +18209,20 @@ var PlayerWalletAPI = class {
18203
18209
  const data = await this.graphql.request(PlayerWalletBalanceDocument, {});
18204
18210
  return data.playerWalletBalance;
18205
18211
  }
18206
- /** The caller's wallet ledger, newest first. */
18212
+ /**
18213
+ * The caller's wallet ledger, newest first. Usage charges are its `usage_debit` entries: one
18214
+ * per app, dimension and period each time that period's usage costs more, the app's markup
18215
+ * included.
18216
+ */
18207
18217
  async transactions(variables = {}) {
18208
18218
  const data = await this.graphql.request(PlayerWalletTransactionsDocument, variables);
18209
18219
  return data.playerWalletTransactions;
18210
18220
  }
18211
18221
  /**
18212
- * The caller's posted hourly usage charges; each splits platformCents vs
18213
- * markupCents with a per-metric snapshot ("what is this grid costing me").
18222
+ * The caller's hourly usage charges from the cents-era billing, which the lossless ledger
18223
+ * replaced: nothing is added to this list any more.
18224
+ *
18225
+ * @deprecated Read {@link transactions}: its `usage_debit` entries are the usage charges.
18214
18226
  */
18215
18227
  async charges(variables = {}) {
18216
18228
  const data = await this.graphql.request(PlayerUsageChargesDocument, variables);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@crowdedkingdoms/crowdyjs",
3
- "version": "18.13.0-test.1",
3
+ "version": "18.14.0-dev.1",
4
4
  "source": "node_modules"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdedkingdoms/crowdy-dsh",
3
- "version": "0.4.9-test.1",
3
+ "version": "0.4.10-dev.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -94,11 +94,11 @@
94
94
  "crowdyDsh": {
95
95
  "build": {
96
96
  "package": "@crowdedkingdoms/crowdy-dsh",
97
- "version": "0.4.9",
98
- "builtAt": "2026-10-16T03:04:33.894Z",
97
+ "version": "0.4.10",
98
+ "builtAt": "2026-10-20T04:39:36.604Z",
99
99
  "source": {
100
100
  "repository": "CrowdedKingdoms/crowdy-dsh",
101
- "commit": "0efa85e34e54e16024e31f20021e14698c2d24dd",
101
+ "commit": "294a2c903b16b33b5b5043731f741132ac61f310",
102
102
  "dirty": false
103
103
  },
104
104
  "upstream": {
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "crowdyjs": {
111
111
  "name": "@crowdedkingdoms/crowdyjs",
112
- "version": "18.13.0-test.1",
112
+ "version": "18.14.0-dev.1",
113
113
  "source": "node_modules"
114
114
  },
115
115
  "files": {
@@ -206,7 +206,7 @@
206
206
  "manifest.webmanifest": "sha256:9b54d57eea00f2fdd1affe6e7999a4209a515755f12ac1a3299da2d55e178d4c",
207
207
  "preview/bootstrap-CYECZNXt.js": "sha256:9f303a0485c0badfdd19fad0c357ef050c5b9a343744ab5bf0c70015e7d95092",
208
208
  "preview/crowdy-boot-Cklh1qNl.js": "sha256:b21e8eb126e1cd8a52159d2d577e610df6c8af36a436f9ed5028cfabd11a85ff",
209
- "preview/vfs-image.tar.gz": "sha256:0bc499f5a3a67925a5cdb7c1f1b133760471874df4807441614a3909c397f7fe",
209
+ "preview/vfs-image.tar.gz": "sha256:a9aeba28c59aaaf9040facd235c1fc584f5dcebc993f20f7f9a1bf083706291c",
210
210
  "preview/worker-C8-_ANaz.js": "sha256:81099e5732dfe0c32bacd5897316b7956c5a0a22da01b4a0c6e21d0a3b9d9aa1"
211
211
  }
212
212
  }