@agoric/casting 0.4.3-upgrade-17-dev-ec448b0.0 → 0.4.3-upgrade-18-dev-d7c994b.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,33 +3,6 @@
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)
15
-
16
-
17
- ### Features
18
-
19
- * **casting:** makeHttpClient for explicit net access with cosmjs ([5bc5138](https://github.com/Agoric/agoric-sdk/commit/5bc513853d144f2967d9c2fc5b21fa2c4e284982))
20
- * **types:** ambient exports from agoric/internal ([71d18c4](https://github.com/Agoric/agoric-sdk/commit/71d18c4221f63f1c0e7c45562b5a0a86a0b4b5c0))
21
- * **types:** explicit exports from notifier ([0bc72a8](https://github.com/Agoric/agoric-sdk/commit/0bc72a88c7d91ff1b2f00ee5cabeb58c6315598e))
22
-
23
-
24
- ### Bug Fixes
25
-
26
- * **casting:** dont crash on bad capdata ([8f4ba3a](https://github.com/Agoric/agoric-sdk/commit/8f4ba3a2f56174161d88f57280513ee5a0f5d4d9))
27
- * **casting:** explicitly harden prototypes ([833c9b3](https://github.com/Agoric/agoric-sdk/commit/833c9b3f63bb83362789bc1261eabf71a8e88ea2))
28
- * **casting:** properly follow an unpopulated state entry ([97be818](https://github.com/Agoric/agoric-sdk/commit/97be818c4f5c507830f70392f334fa60dd6d7f94))
29
- * update for `[@jessie](https://github.com/jessie).js/safe-await-separator` ([94c6b3c](https://github.com/Agoric/agoric-sdk/commit/94c6b3c83a5326594f1e2886ae01d6a703a7a68f))
30
-
31
-
32
-
33
6
  ### [0.4.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.1...@agoric/casting@0.4.2) (2023-06-02)
34
7
 
35
8
  **Note:** Version bump only for package @agoric/casting
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-upgrade-17-dev-ec448b0.0+ec448b0",
3
+ "version": "0.4.3-upgrade-18-dev-d7c994b.0+d7c994b",
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-upgrade-17-dev-ec448b0.0+ec448b0",
26
- "@agoric/notifier": "0.7.0-upgrade-17-dev-ec448b0.0+ec448b0",
27
- "@agoric/store": "0.9.3-upgrade-17-dev-ec448b0.0+ec448b0",
25
+ "@agoric/internal": "0.3.3-upgrade-18-dev-d7c994b.0+d7c994b",
26
+ "@agoric/notifier": "0.6.3-upgrade-18-dev-d7c994b.0+d7c994b",
27
+ "@agoric/store": "0.9.3-upgrade-18-dev-d7c994b.0+d7c994b",
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-upgrade-17-dev-ec448b0.0+ec448b0",
42
- "@endo/ses-ava": "^1.2.5",
43
- "@types/node-fetch": "^2.6.2",
40
+ "@agoric/cosmic-proto": "0.4.1-upgrade-18-dev-d7c994b.0+d7c994b",
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": "ec448b081ac21cbe217f210e06f0b8f7989e73d6"
63
+ "gitHead": "d7c994b8d33c0cd22b257f3e33b579588ab6c6d8"
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;