@agoric/casting 0.4.3-upgrade-19-dev-0754752.0 → 0.4.3-upgrade-18a-dev-4ee0508.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 +50 -2
- package/package.json +15 -16
- package/test/interpose-net-access.test.js +1 -5
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.json +2 -2
- package/test/types.test-d.ts +0 -31
package/CHANGELOG.md
CHANGED
|
@@ -3,13 +3,61 @@
|
|
|
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-
|
|
6
|
+
### [0.4.3-u18a.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.3-u18.5...@agoric/casting@0.4.3-u18a.0) (2025-02-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @agoric/casting
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### [0.4.3-u18.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.3-u18.4...@agoric/casting@0.4.3-u18.5) (2024-12-24)
|
|
7
15
|
|
|
8
16
|
|
|
9
17
|
### Features
|
|
10
18
|
|
|
11
|
-
* **casting:** makeHttpClient for explicit net access with cosmjs ([5bc5138](https://github.com/Agoric/agoric-sdk/commit/5bc513853d144f2967d9c2fc5b21fa2c4e284982))
|
|
12
19
|
* makeTendermintRpcClient ([129516a](https://github.com/Agoric/agoric-sdk/commit/129516a8f3ae58f16d17460f58d2c69ee215a584))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### [0.4.3-u18.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.3-u18.3...@agoric/casting@0.4.3-u18.4) (2024-12-17)
|
|
24
|
+
|
|
25
|
+
**Note:** Version bump only for package @agoric/casting
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### [0.4.3-u18.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.3-u18.2...@agoric/casting@0.4.3-u18.3) (2024-12-09)
|
|
32
|
+
|
|
33
|
+
**Note:** Version bump only for package @agoric/casting
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### [0.4.3-u18.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.3-u18.1...@agoric/casting@0.4.3-u18.2) (2024-11-21)
|
|
40
|
+
|
|
41
|
+
**Note:** Version bump only for package @agoric/casting
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### [0.4.3-u18.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/casting@0.4.3-u18.0...@agoric/casting@0.4.3-u18.1) (2024-11-19)
|
|
48
|
+
|
|
49
|
+
**Note:** Version bump only for package @agoric/casting
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### [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)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Features
|
|
59
|
+
|
|
60
|
+
* **casting:** makeHttpClient for explicit net access with cosmjs ([5bc5138](https://github.com/Agoric/agoric-sdk/commit/5bc513853d144f2967d9c2fc5b21fa2c4e284982))
|
|
13
61
|
* **types:** ambient exports from agoric/internal ([71d18c4](https://github.com/Agoric/agoric-sdk/commit/71d18c4221f63f1c0e7c45562b5a0a86a0b4b5c0))
|
|
14
62
|
* **types:** explicit exports from notifier ([0bc72a8](https://github.com/Agoric/agoric-sdk/commit/0bc72a88c7d91ff1b2f00ee5cabeb58c6315598e))
|
|
15
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/casting",
|
|
3
|
-
"version": "0.4.3-upgrade-
|
|
3
|
+
"version": "0.4.3-upgrade-18a-dev-4ee0508.0+4ee0508",
|
|
4
4
|
"description": "Agoric's OCap broadcasting system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -16,33 +16,32 @@
|
|
|
16
16
|
"lint-fix": "yarn lint:eslint --fix",
|
|
17
17
|
"lint": "run-s --continue-on-error lint:*",
|
|
18
18
|
"lint:types": "tsc",
|
|
19
|
-
"lint:eslint": "eslint ."
|
|
19
|
+
"lint:eslint": "eslint --ext .js,.ts ."
|
|
20
20
|
},
|
|
21
21
|
"keywords": [],
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/internal": "0.4.0-upgrade-
|
|
26
|
-
"@agoric/notifier": "0.7.0-upgrade-
|
|
27
|
-
"@agoric/store": "0.9.3-upgrade-
|
|
25
|
+
"@agoric/internal": "0.4.0-upgrade-18a-dev-4ee0508.0+4ee0508",
|
|
26
|
+
"@agoric/notifier": "0.7.0-upgrade-18a-dev-4ee0508.0+4ee0508",
|
|
27
|
+
"@agoric/store": "0.9.3-upgrade-18a-dev-4ee0508.0+4ee0508",
|
|
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.
|
|
33
|
-
"@endo/far": "^1.1.
|
|
34
|
-
"@endo/init": "^1.1.
|
|
35
|
-
"@endo/lockdown": "^1.0.
|
|
36
|
-
"@endo/marshal": "^1.6.
|
|
37
|
-
"@endo/promise-kit": "^1.1.
|
|
32
|
+
"@endo/errors": "^1.2.8",
|
|
33
|
+
"@endo/far": "^1.1.9",
|
|
34
|
+
"@endo/init": "^1.1.7",
|
|
35
|
+
"@endo/lockdown": "^1.0.13",
|
|
36
|
+
"@endo/marshal": "^1.6.2",
|
|
37
|
+
"@endo/promise-kit": "^1.1.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@agoric/cosmic-proto": "0.5.0-upgrade-
|
|
41
|
-
"@endo/ses-ava": "^1.2.
|
|
40
|
+
"@agoric/cosmic-proto": "0.5.0-upgrade-18a-dev-4ee0508.0+4ee0508",
|
|
41
|
+
"@endo/ses-ava": "^1.2.8",
|
|
42
42
|
"ava": "^5.3.0",
|
|
43
43
|
"c8": "^10.1.2",
|
|
44
44
|
"express": "^5.0.1",
|
|
45
|
-
"tsd": "^0.31.2",
|
|
46
45
|
"ws": "^7.2.0"
|
|
47
46
|
},
|
|
48
47
|
"publishConfig": {
|
|
@@ -59,7 +58,7 @@
|
|
|
59
58
|
"workerThreads": false
|
|
60
59
|
},
|
|
61
60
|
"typeCoverage": {
|
|
62
|
-
"atLeast":
|
|
61
|
+
"atLeast": 88.99
|
|
63
62
|
},
|
|
64
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "4ee05088e5ada989a866a11ff65838d395505ce6"
|
|
65
64
|
}
|
|
@@ -15,11 +15,7 @@ import {
|
|
|
15
15
|
import { makeTendermintRpcClient } from '../src/makeHttpClient.js';
|
|
16
16
|
import { captureIO, replayIO, web1, web2 } from './net-access-fixture.js';
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* @import {EReturn} from '@endo/far';
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
/** @type {import('ava').TestFn<EReturn<typeof makeTestContext>>} */
|
|
18
|
+
/** @type {import('ava').TestFn<Awaited<ReturnType<typeof makeTestContext>>>} */
|
|
23
19
|
const test = /** @type {any} */ (anyTest);
|
|
24
20
|
|
|
25
21
|
const RECORDING = false;
|
|
@@ -1 +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.
|
|
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.7.2"}
|
package/tsconfig.json
CHANGED
package/test/types.test-d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { E } from '@endo/far';
|
|
2
|
-
import { expectType } from 'tsd';
|
|
3
|
-
import type { ValueFollower } from '../src/follower-cosmjs.js';
|
|
4
|
-
import { makeFollower } from '../src/follower.js';
|
|
5
|
-
import { iterateLatest } from '../src/iterable.js';
|
|
6
|
-
import { makeLeader } from '../src/leader-netconfig.js';
|
|
7
|
-
import type { ValueFollowerElement } from '../src/types.js';
|
|
8
|
-
|
|
9
|
-
type ThePublishedDatum = { a: 1; b: 'two' };
|
|
10
|
-
type TheFollowerElement = ValueFollowerElement<ThePublishedDatum>;
|
|
11
|
-
|
|
12
|
-
const leader = makeLeader();
|
|
13
|
-
|
|
14
|
-
{
|
|
15
|
-
const f = makeFollower<ThePublishedDatum>('', leader, {});
|
|
16
|
-
expectType<ValueFollower<ThePublishedDatum>>(await f);
|
|
17
|
-
|
|
18
|
-
expectType<AsyncIterable<TheFollowerElement>>(await E(f).getLatestIterable());
|
|
19
|
-
|
|
20
|
-
expectType<AsyncIterable<TheFollowerElement>>(await E(f).getLatestIterable());
|
|
21
|
-
|
|
22
|
-
expectType<AsyncIterable<TheFollowerElement>>(
|
|
23
|
-
await E(f).getReverseIterable(),
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
const iter = iterateLatest(f);
|
|
27
|
-
for await (const { value } of iter) {
|
|
28
|
-
assert(value, 'value undefined');
|
|
29
|
-
expectType<ThePublishedDatum>(value);
|
|
30
|
-
}
|
|
31
|
-
}
|