@agoric/casting 0.4.3-dev-32c4d68.0 → 0.4.3-dev-5d5ee65.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/package.json +7 -7
- package/src/makeHttpClient.d.ts.map +1 -1
- package/src/makeHttpClient.js +0 -1
- package/test/test-mvp.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/casting",
|
|
3
|
-
"version": "0.4.3-dev-
|
|
3
|
+
"version": "0.4.3-dev-5d5ee65.0+5d5ee65",
|
|
4
4
|
"description": "Agoric's OCap broadcasting system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/internal": "0.3.3-dev-
|
|
26
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
27
|
-
"@agoric/spawner": "0.6.9-dev-
|
|
28
|
-
"@agoric/store": "0.9.3-dev-
|
|
25
|
+
"@agoric/internal": "0.3.3-dev-5d5ee65.0+5d5ee65",
|
|
26
|
+
"@agoric/notifier": "0.6.3-dev-5d5ee65.0+5d5ee65",
|
|
27
|
+
"@agoric/spawner": "0.6.9-dev-5d5ee65.0+5d5ee65",
|
|
28
|
+
"@agoric/store": "0.9.3-dev-5d5ee65.0+5d5ee65",
|
|
29
29
|
"@cosmjs/encoding": "^0.32.2",
|
|
30
30
|
"@cosmjs/proto-signing": "^0.32.2",
|
|
31
31
|
"@cosmjs/stargate": "^0.32.2",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"node-fetch": "^2.6.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
41
|
+
"@agoric/cosmic-proto": "0.4.1-dev-5d5ee65.0+5d5ee65",
|
|
42
42
|
"@endo/ses-ava": "^1.1.2",
|
|
43
43
|
"@types/node-fetch": "^2.6.2",
|
|
44
44
|
"ava": "^5.3.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"typeCoverage": {
|
|
63
63
|
"atLeast": 89.58
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "5d5ee655ddeb5ec099eb3cce7808d74aebd4e0d7"
|
|
66
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"makeHttpClient.d.ts","sourceRoot":"","sources":["makeHttpClient.js"],"names":[],"mappings":"AA2BO,oCAJI,MAAM;;;IAEJ,OAAO,wBAAwB,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"makeHttpClient.d.ts","sourceRoot":"","sources":["makeHttpClient.js"],"names":[],"mappings":"AA2BO,oCAJI,MAAM;;;IAEJ,OAAO,wBAAwB,EAAE,SAAS,CA8BtD"}
|
package/src/makeHttpClient.js
CHANGED
|
@@ -44,7 +44,6 @@ export const makeHttpClient = (url, fetch) => {
|
|
|
44
44
|
method: 'POST',
|
|
45
45
|
body: request ? JSON.stringify(request) : undefined,
|
|
46
46
|
headers: {
|
|
47
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
48
47
|
'Content-Type': 'application/json',
|
|
49
48
|
...headers,
|
|
50
49
|
},
|
package/test/test-mvp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import './lockdown.js';
|
|
4
4
|
|
|
5
5
|
import { makeMarshal } from '@endo/marshal';
|
|
@@ -201,7 +201,7 @@ test('yields error on bad capdata without terminating', async t => {
|
|
|
201
201
|
const castingSpec = makeCastingSpec(':mailbox.agoric1foobarbaz');
|
|
202
202
|
const follower = await makeFollower(castingSpec, leader, so);
|
|
203
203
|
let i = 0;
|
|
204
|
-
|
|
204
|
+
|
|
205
205
|
for await (const { value, error } of iterateEach(follower)) {
|
|
206
206
|
if (i === 0) {
|
|
207
207
|
t.log(`value from follower, should be undefined:`, value);
|