Skip to content

Commit

Permalink
Merge pull request #128 from oasisprotocol/lw/typed-deoxysii
Browse files Browse the repository at this point in the history
clients/js: Upgrade deoxysii to @oasisprotocol/deoxysii (includes types)
  • Loading branch information
lukaw3d committed Apr 22, 2023
2 parents 9ca13a2 + 9988f0c commit 6e54623
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion clients/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"@ethersproject/providers": "^5.7.1",
"@ethersproject/rlp": "^5.7.0",
"@ethersproject/transactions": "^5.7.0",
"@oasisprotocol/deoxysii": "^0.0.5",
"cborg": "^1.9.5",
"deoxysii": "^0.0.2",
"js-sha512": "^0.8.0",
"tweetnacl": "^1.0.3",
"type-fest": "^2.19.0"
Expand Down
3 changes: 1 addition & 2 deletions clients/js/src/cipher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import {
isBytesLike,
} from '@ethersproject/bytes';
import * as cbor from 'cborg';
// @ts-expect-error missing declaration
import deoxysii from 'deoxysii';
import deoxysii from '@oasisprotocol/deoxysii';
import { IncomingMessage } from 'http';
import { sha512_256 } from 'js-sha512';
import nacl, { BoxKeyPair } from 'tweetnacl';
Expand Down
3 changes: 1 addition & 2 deletions clients/js/test/cipher.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { arrayify, hexlify } from '@ethersproject/bytes';
import * as cbor from 'cborg';
// @ts-expect-error missing declaration
import { TagSize } from 'deoxysii';
import { TagSize } from '@oasisprotocol/deoxysii';
import nock from 'nock';
import fetchImpl from 'node-fetch';
import nacl from 'tweetnacl';
Expand Down
11 changes: 9 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e54623

Please sign in to comment.