Skip to content

Commit eb74e7a

Browse files
authored
v0.4.0-alpha-4: Final Progress public API (#384)
* chore: public API, eslint * chore: public API, eslint 2 * chore: fix all eslint errors, add stricter github actions * 0.4.0-alpha.4 * chore: bump version 0.4.0-alpha.4 * chore: prettier
1 parent df3efcb commit eb74e7a

201 files changed

Lines changed: 9262 additions & 1983 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.addresses.devnet

Lines changed: 0 additions & 4 deletions
This file was deleted.

.addresses.testnet

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/cdn.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
- name: Run prettier
3636
run: npm run prettier:check
3737

38+
- name: Run lint
39+
run: npm run lint
40+
41+
- name: Run strict build
42+
run: npm run build:strict
43+
3844
- name: Run tests
3945
run: npm test
4046

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
- name: Run prettier
4444
run: npm run prettier:check
4545

46+
- name: Run lint
47+
run: npm run lint
48+
49+
- name: Run strict build
50+
run: npm run build:strict
51+
4652
- name: Build package
4753
run: npm run build
4854

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
- name: Run prettier
4040
run: npm run prettier:check
4141

42+
- name: Run lint
43+
run: npm run lint
44+
45+
- name: Run strict build
46+
run: npm run build:strict
47+
4248
- name: Build package
4349
run: npm run build
4450

.github/workflows/test-cdn.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
- name: Run prettier
3636
run: npm run prettier:check
3737

38+
- name: Run lint
39+
run: npm run lint
40+
41+
- name: Run strict build
42+
run: npm run build:strict
43+
3844
- name: Run tests
3945
run: npm test
4046

.github/workflows/test-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
- name: Run prettier
3636
run: npm run prettier:check
3737

38+
- name: Run lint
39+
run: npm run lint
40+
41+
- name: Run strict build
42+
run: npm run build:strict
43+
3844
- name: Build package
3945
run: npm run build
4046

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
- name: Run prettier
4444
run: npm run prettier:check
4545

46+
- name: Run lint
47+
run: npm run lint
48+
49+
- name: Run strict build
50+
run: npm run build:strict
51+
4652
- name: Build package
4753
run: npm run build
4854

bin/commands/test/test-public-decrypt.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { logCLI, parseCommonOptions } from '../../utils.js';
44
import { FHETestAddresses } from './fheTest.js';
55
import { ethers } from 'ethers';
66
import { publicDecrypt } from '../../publicDecrypt.js';
7+
import { safeJSONstringify } from '../../../lib/internal.js';
78

89
// npx . test public-decrypt --type euint32 --network testnet --version 1
910
// npx . test public-decrypt --type euint32 --network testnet --version 2

bundle.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,18 @@ export {
2222
BearerToken,
2323
ApiKeyCookie,
2424
ApiKeyHeader,
25+
ZKProofLike,
26+
RelayerUserDecryptOptionsType,
27+
RelayerPublicDecryptOptionsType,
28+
RelayerInputProofOptionsType,
29+
RelayerInputProofProgressArgs,
30+
RelayerUserDecryptProgressArgs,
31+
RelayerPublicDecryptProgressArgs,
32+
RelayerPostOperation,
33+
RelayerProgressQueuedType,
34+
RelayerProgressRateLimitedType,
35+
RelayerProgressSucceededType,
36+
RelayerProgressTimeoutType,
37+
RelayerProgressAbortType,
38+
RelayerProgressFailedType,
2539
} from './lib/web';

0 commit comments

Comments
 (0)