@agoric/casting 0.4.3-u17.1 → 0.4.3-u18.0

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/CHANGELOG.md CHANGED
@@ -3,15 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ### [0.4.3-u17.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.3-u17.0...@agoric/casting@0.4.3-u17.1) (2024-09-19)
7
-
8
- **Note:** Version bump only for package @agoric/casting
9
-
10
-
11
-
12
-
13
-
14
- ### [0.4.3-u17.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.2...@agoric/casting@0.4.3-u17.0) (2024-09-17)
6
+ ### [0.4.3-u18.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.2...@agoric/casting@0.4.3-u18.0) (2024-10-31)
15
7
 
16
8
 
17
9
  ### Features
package/README.md CHANGED
@@ -13,7 +13,6 @@ An example of following an on-chain mailbox in code (using this package) is:
13
13
  ```js
14
14
  // First, obtain a Hardened JS environment via Endo.
15
15
  import '@endo/init/pre-remoting.js'; // needed only for the next line
16
- import '@agoric/casting/node-fetch-shim.js'; // needed for Node.js
17
16
  import '@endo/init';
18
17
 
19
18
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/casting",
3
- "version": "0.4.3-u17.1",
3
+ "version": "0.4.3-u18.0",
4
4
  "description": "Agoric's OCap broadcasting system",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -8,7 +8,7 @@
8
8
  "scripts": {
9
9
  "build": "exit 0",
10
10
  "prepack": "tsc --build tsconfig.build.json",
11
- "postpack": "git clean -f '*.d.ts*'",
11
+ "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'",
12
12
  "demo": "node -e 'import(\"./test/fake-rpc-server.js\").then(ns => ns.develop())'",
13
13
  "test": "ava",
14
14
  "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
@@ -22,28 +22,26 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/internal": "^0.4.0-u17.1",
26
- "@agoric/notifier": "^0.7.0-u17.1",
27
- "@agoric/store": "^0.9.3-u17.1",
25
+ "@agoric/internal": "^0.4.0-u18.0",
26
+ "@agoric/notifier": "^0.7.0-u18.0",
27
+ "@agoric/store": "^0.9.3-u18.0",
28
28
  "@cosmjs/encoding": "^0.32.3",
29
29
  "@cosmjs/proto-signing": "^0.32.3",
30
30
  "@cosmjs/stargate": "^0.32.3",
31
31
  "@cosmjs/tendermint-rpc": "^0.32.3",
32
- "@endo/errors": "^1.2.5",
33
- "@endo/far": "^1.1.5",
34
- "@endo/init": "^1.1.4",
35
- "@endo/lockdown": "^1.0.10",
36
- "@endo/marshal": "^1.5.3",
37
- "@endo/promise-kit": "^1.1.5",
38
- "node-fetch": "^2.6.0"
32
+ "@endo/errors": "^1.2.7",
33
+ "@endo/far": "^1.1.8",
34
+ "@endo/init": "^1.1.6",
35
+ "@endo/lockdown": "^1.0.12",
36
+ "@endo/marshal": "^1.6.1",
37
+ "@endo/promise-kit": "^1.1.7"
39
38
  },
40
39
  "devDependencies": {
41
- "@agoric/cosmic-proto": "^0.5.0-u17.1",
42
- "@endo/ses-ava": "^1.2.5",
43
- "@types/node-fetch": "^2.6.2",
40
+ "@agoric/cosmic-proto": "^0.5.0-u18.0",
41
+ "@endo/ses-ava": "^1.2.7",
44
42
  "ava": "^5.3.0",
45
43
  "c8": "^9.1.0",
46
- "express": "^4.17.1",
44
+ "express": "^5.0.1",
47
45
  "ws": "^7.2.0"
48
46
  },
49
47
  "publishConfig": {
@@ -60,7 +58,7 @@
60
58
  "workerThreads": false
61
59
  },
62
60
  "typeCoverage": {
63
- "atLeast": 88.92
61
+ "atLeast": 88.9
64
62
  },
65
- "gitHead": "5259430561693bfcf58516c3ea54123895859708"
63
+ "gitHead": "c22e7250188bbdb07bc021dffdb88af0309a7aa8"
66
64
  }
package/test/lockdown.js CHANGED
@@ -1,3 +1,2 @@
1
1
  import '@endo/init/pre-remoting.js';
2
- import '../node-fetch-shim.js';
3
2
  import '@endo/init';
package/test/mvp.test.js CHANGED
@@ -155,7 +155,7 @@ test('missing rpc server', async t => {
155
155
  jitter: null,
156
156
  }),
157
157
  {
158
- message: /^invalid json response body/,
158
+ message: /^Unexpected token/,
159
159
  },
160
160
  );
161
161
  });
@@ -0,0 +1 @@
1
+ {"root":["./src/casting-spec.js","./src/change-follower.js","./src/defaults.js","./src/follower-cosmjs.js","./src/follower.js","./src/iterable.js","./src/leader-netconfig.js","./src/leader.js","./src/main.js","./src/makeHttpClient.js","./src/netconfig.js","./src/shuffle.js","./src/types.js"],"version":"5.6.3"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=node-fetch-shim.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node-fetch-shim.d.ts","sourceRoot":"","sources":["node-fetch-shim.js"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- // @jessie-check
2
-
3
- /* global globalThis */
4
- import fetch from 'node-fetch';
5
-
6
- // @ts-expect-error node-fetch does not exactly match W3C Fetch
7
- globalThis.fetch = fetch;