@agoric/internal 0.3.1 → 0.3.3-dev-51ee28f.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,6 +3,14 @@
|
|
|
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.3.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/internal@0.3.1...@agoric/internal@0.3.2) (2023-06-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @agoric/internal
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
### [0.3.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/internal@0.3.0...@agoric/internal@0.3.1) (2023-05-24)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @agoric/internal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/internal",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3-dev-51ee28f.0+51ee28f",
|
|
4
4
|
"description": "Externally unsupported utilities internal to agoric-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lint:types": "tsc -p jsconfig.json"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@agoric/zone": "
|
|
23
|
+
"@agoric/zone": "0.2.3-dev-51ee28f.0+51ee28f",
|
|
24
24
|
"@endo/far": "^0.2.18",
|
|
25
25
|
"@endo/marshal": "^0.8.5",
|
|
26
26
|
"@endo/patterns": "^0.2.2",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "51ee28ffe0395ed9a8924388e46b898b6564cf24"
|
|
46
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-test-utils.d.ts","sourceRoot":"","sources":["storage-test-utils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"storage-test-utils.d.ts","sourceRoot":"","sources":["storage-test-utils.js"],"names":[],"mappings":"AAkCO,yCAHI,MAAM,UACN,MAAM,wDAGC;AAElB;;;GAGG;AACH;;;;;EAEG;AAsBW,+CAAU,GAAG,GAAK,GAAG,CAAA;AAgC5B,6CAHI,MAAM,gBACN;;eAAwC,CAAC,CAAC;;;;;;;;;;;;;;;;;;yBAyBvC,OAAO,4BAA4B,EAAE,cAAc;;;;EAoFhE;AAIM;IAIH;;;;;;;;;OASG;oBAHQ,MAAM,eACN,OAAO,uBAAuB,EAAE,UAAU,KACxC,OAAO;;;;;;;;;IARpB;;;;;;;;;OASG;oBAHQ,MAAM,eACN,OAAO,uBAAuB,EAAE,UAAU,KACxC,OAAO;;;;;;;;GAWvB;;;;;;;;;;;;;;;;;;eAnNiF,CAAC,KAAK,CAAC;;;6BA0L3E,WAAY,yBAAyB,CAAC;mCA0BtC,WAAW,+BAA+B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
import { Far } from '@endo/far';
|
|
3
3
|
import { makeMarshal, Remotable } from '@endo/marshal';
|
|
4
|
+
import { makeTracer } from './debug.js';
|
|
4
5
|
import {
|
|
5
6
|
isStreamCell,
|
|
6
7
|
makeChainStorageRoot,
|
|
@@ -10,6 +11,8 @@ import { bindAllMethods } from './method-tools.js';
|
|
|
10
11
|
|
|
11
12
|
const { Fail } = assert;
|
|
12
13
|
|
|
14
|
+
const trace = makeTracer('StorTU', false);
|
|
15
|
+
|
|
13
16
|
/**
|
|
14
17
|
* A map corresponding with a total function such that `get(key)`
|
|
15
18
|
* is assumed to always succeed.
|
|
@@ -142,6 +145,7 @@ export const makeFakeStorageKit = (rootPath, rootOptions) => {
|
|
|
142
145
|
}
|
|
143
146
|
case 'set':
|
|
144
147
|
case 'setWithoutNotify': {
|
|
148
|
+
trace('toStorage set', message);
|
|
145
149
|
/** @type {import('../src/lib-chainStorage.js').StorageEntry[]} */
|
|
146
150
|
const newEntries = message.args;
|
|
147
151
|
for (const [key, value] of newEntries) {
|
|
@@ -154,6 +158,7 @@ export const makeFakeStorageKit = (rootPath, rootOptions) => {
|
|
|
154
158
|
break;
|
|
155
159
|
}
|
|
156
160
|
case 'append': {
|
|
161
|
+
trace('toStorage append', message);
|
|
157
162
|
/** @type {import('../src/lib-chainStorage.js').StorageEntry[]} */
|
|
158
163
|
const newEntries = message.args;
|
|
159
164
|
for (const [key, value] of newEntries) {
|