@agoric/casting 0.4.3-dev-67a57a4.0 → 0.4.3-dev-3aa0690.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/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-dev-67a57a4.0+67a57a4",
3
+ "version": "0.4.3-dev-3aa0690.0+3aa0690",
4
4
  "description": "Agoric's OCap broadcasting system",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -22,9 +22,9 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/internal": "0.3.3-dev-67a57a4.0+67a57a4",
26
- "@agoric/notifier": "0.6.3-dev-67a57a4.0+67a57a4",
27
- "@agoric/store": "0.9.3-dev-67a57a4.0+67a57a4",
25
+ "@agoric/internal": "0.3.3-dev-3aa0690.0+3aa0690",
26
+ "@agoric/notifier": "0.6.3-dev-3aa0690.0+3aa0690",
27
+ "@agoric/store": "0.9.3-dev-3aa0690.0+3aa0690",
28
28
  "@cosmjs/encoding": "^0.32.3",
29
29
  "@cosmjs/proto-signing": "^0.32.3",
30
30
  "@cosmjs/stargate": "^0.32.3",
@@ -34,13 +34,11 @@
34
34
  "@endo/init": "^1.1.4",
35
35
  "@endo/lockdown": "^1.0.10",
36
36
  "@endo/marshal": "^1.5.3",
37
- "@endo/promise-kit": "^1.1.5",
38
- "node-fetch": "^2.6.0"
37
+ "@endo/promise-kit": "^1.1.5"
39
38
  },
40
39
  "devDependencies": {
41
- "@agoric/cosmic-proto": "0.4.1-dev-67a57a4.0+67a57a4",
40
+ "@agoric/cosmic-proto": "0.4.1-dev-3aa0690.0+3aa0690",
42
41
  "@endo/ses-ava": "^1.2.5",
43
- "@types/node-fetch": "^2.6.2",
44
42
  "ava": "^5.3.0",
45
43
  "c8": "^9.1.0",
46
44
  "express": "^4.17.1",
@@ -62,5 +60,5 @@
62
60
  "typeCoverage": {
63
61
  "atLeast": 88.92
64
62
  },
65
- "gitHead": "67a57a49b21847c4eb8acea1ca9f318fad8cc52f"
63
+ "gitHead": "3aa069075ed1b66c57c8b647c925e0c3cb3c0a25"
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
  });
@@ -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;