@agoric/telemetry 0.6.3-dev-57802f9.0 → 0.6.3-mainnet1B-dev-c0e1089.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,15 @@
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.6.3-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/telemetry@0.6.2...@agoric/telemetry@0.6.3-u11.0) (2023-08-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **cosmic-swingset:** add JS upgrade plan handler stub ([7803d3d](https://github.com/Agoric/agoric-sdk/commit/7803d3de8e0cba681dfd27dacfc3577eed0bf2f8))
12
+
13
+
14
+
6
15
  ### [0.6.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/telemetry@0.6.1...@agoric/telemetry@0.6.2) (2023-06-02)
7
16
 
8
17
  **Note:** Version bump only for package @agoric/telemetry
@@ -1,10 +1,6 @@
1
1
  // This file can contain .js-specific Typescript compiler config.
2
2
  {
3
3
  "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "allowSyntheticDefaultImports": true,
6
- "maxNodeModuleJsDepth": 2,
7
- },
8
4
  "include": [
9
5
  "*.js",
10
6
  "scripts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/telemetry",
3
- "version": "0.6.3-dev-57802f9.0+57802f9",
3
+ "version": "0.6.3-mainnet1B-dev-c0e1089.0+c0e1089",
4
4
  "description": "Agoric's telemetry implementation",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -12,7 +12,7 @@
12
12
  "test:xs": "exit 0",
13
13
  "lint-fix": "yarn lint:eslint --fix",
14
14
  "lint": "run-s --continue-on-error lint:*",
15
- "lint:types": "tsc",
15
+ "lint:types": "tsc -p jsconfig.json",
16
16
  "lint:eslint": "eslint ."
17
17
  },
18
18
  "bin": {
@@ -22,12 +22,12 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/assert": "0.6.1-dev-57802f9.0+57802f9",
26
- "@agoric/internal": "0.3.3-dev-57802f9.0+57802f9",
27
- "@agoric/store": "0.9.3-dev-57802f9.0+57802f9",
28
- "@endo/init": "^0.5.59",
29
- "@endo/marshal": "^0.8.8",
30
- "@endo/stream": "^0.3.28",
25
+ "@agoric/assert": "0.6.1-mainnet1B-dev-c0e1089.0+c0e1089",
26
+ "@agoric/internal": "0.3.3-mainnet1B-dev-c0e1089.0+c0e1089",
27
+ "@agoric/store": "0.9.3-mainnet1B-dev-c0e1089.0+c0e1089",
28
+ "@endo/init": "0.5.56",
29
+ "@endo/marshal": "0.8.5",
30
+ "@endo/stream": "0.3.25",
31
31
  "@opentelemetry/api": "~1.3.0",
32
32
  "@opentelemetry/exporter-prometheus": "~0.35.0",
33
33
  "@opentelemetry/exporter-trace-otlp-http": "~0.35.0",
@@ -41,9 +41,9 @@
41
41
  "tmp": "^0.2.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@endo/lockdown": "^0.1.31",
45
- "@endo/ses-ava": "^0.2.43",
46
- "ava": "^5.3.0",
44
+ "@endo/lockdown": "0.1.28",
45
+ "@endo/ses-ava": "0.2.40",
46
+ "ava": "^5.2.0",
47
47
  "c8": "^7.13.0",
48
48
  "tmp": "^0.2.1"
49
49
  },
@@ -57,11 +57,8 @@
57
57
  "files": [
58
58
  "test/**/test-*.js"
59
59
  ],
60
- "require": [
61
- "@endo/init/debug.js"
62
- ],
63
60
  "timeout": "20m",
64
61
  "workerThreads": false
65
62
  },
66
- "gitHead": "57802f970619d66d45608e819f443131e3bf6b66"
63
+ "gitHead": "c0e10895096f10703536fec603ebf1e2c2f948bc"
67
64
  }
@@ -14,6 +14,7 @@ const main = async () => {
14
14
  }
15
15
 
16
16
  for await (const file of files) {
17
+ // eslint-disable-next-line @jessie.js/no-nested-await
17
18
  const { readCircBuf } = await makeMemoryMappedCircularBuffer({
18
19
  circularBufferFilename: file,
19
20
  circularBufferSize: 0,
@@ -49,18 +50,13 @@ const main = async () => {
49
50
  }
50
51
 
51
52
  // If the buffer is full, wait for stdout to drain.
53
+ // eslint-disable-next-line no-await-in-loop, @jessie.js/no-nested-await
52
54
  await new Promise(resolve => process.stdout.once('drain', resolve));
53
55
  }
54
56
  }
55
57
  };
56
58
 
57
- process.exitCode = 1;
58
- main().then(
59
- () => {
60
- process.exitCode = 0;
61
- },
62
- err => {
63
- console.error('Failed with', err);
64
- process.exit(process.exitCode || 1);
65
- },
66
- );
59
+ main().catch(err => {
60
+ console.error(err);
61
+ process.exitCode = 1;
62
+ });
@@ -143,13 +143,4 @@ async function run() {
143
143
  );
144
144
  }
145
145
 
146
- process.exitCode = 1;
147
- run().then(
148
- () => {
149
- process.exitCode = 0;
150
- },
151
- err => {
152
- console.error('Failed with', err);
153
- process.exit(process.exitCode || 1);
154
- },
155
- );
146
+ run().catch(err => console.log('err', err));
@@ -130,13 +130,7 @@ const main = async () => {
130
130
  );
131
131
  };
132
132
 
133
- process.exitCode = 1;
134
- main().then(
135
- () => {
136
- process.exitCode = 0;
137
- },
138
- err => {
139
- logger.error('Failed with', err);
140
- process.exit(process.exitCode || 1);
141
- },
142
- );
133
+ main().catch(e => {
134
+ logger.error(e);
135
+ process.exitCode = 1;
136
+ });
@@ -1,3 +1,5 @@
1
+ import '@endo/init';
2
+
1
3
  import { wrapTest } from '@endo/ses-ava';
2
4
  import rawTest from 'ava';
3
5