Skip to content

Commit

Permalink
Merge branch 'main' into kloet/opt-memo
Browse files Browse the repository at this point in the history
  • Loading branch information
dskloetd committed Sep 22, 2023
2 parents ceb437d + 7174c98 commit 981bbb8
Show file tree
Hide file tree
Showing 27 changed files with 2,178 additions and 2,420 deletions.
4,361 changes: 2,061 additions & 2,300 deletions package-lock.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,31 @@
"url": "https://github.com/dfinity/ic-js"
},
"devDependencies": {
"@size-limit/esbuild": "^8.2.4",
"@size-limit/preset-small-lib": "^8.2.4",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/text-encoding": "^0.0.36",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"esbuild": "^0.17.15",
"eslint": "^8.37.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"@size-limit/esbuild": "^9.0.0",
"@size-limit/preset-small-lib": "^9.0.0",
"@types/jest": "^29.5.5",
"@types/node": "^20.6.3",
"@types/text-encoding": "^0.0.37",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"esbuild": "^0.19.3",
"eslint": "^8.49.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.5.0",
"jest-mock-extended": "^3.0.4",
"node-fetch": "^3.3.1",
"prettier": "^3.0.0",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.5",
"node-fetch": "^3.3.2",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
"semver": "^7.5.3",
"size-limit": "^8.2.4",
"semver": "^7.5.4",
"size-limit": "^9.0.0",
"text-encoding": "^0.7.0",
"ts-jest": "^29.1.0",
"ts-jest": "^29.1.1",
"ts-protoc-gen": "^0.15.0",
"tsdoc-markdown": "^0.0.4",
"typescript": "^4.9.5",
"whatwg-fetch": "^3.6.2"
"tsdoc-markdown": "^0.1.0",
"typescript": "^5.2.2",
"whatwg-fetch": "^3.6.19"
},
"size-limit": [
{
Expand Down Expand Up @@ -145,6 +145,6 @@
}
],
"overrides": {
"semver": "^7.5.3"
"semver": "^7.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/ckbtc/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type {
Account as WithdrawalAccount,
MinterInfo,
RetrieveBtcOk,
Account as WithdrawalAccount,
} from "../candid/minter";
export * from "./enums/btc.enums";
export * from "./errors/btc.errors";
Expand Down
4 changes: 2 additions & 2 deletions packages/ckbtc/src/minter.canister.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {
type QueryParams,
} from "@dfinity/utils";
import type {
Account as WithdrawalAccount,
_SERVICE as CkBTCMinterService,
MinterInfo,
RetrieveBtcOk,
_SERVICE as CkBTCMinterService,
Account as WithdrawalAccount,
} from "../candid/minter";
import { idlFactory as certifiedIdlFactory } from "../candid/minter.certified.idl";
import { idlFactory } from "../candid/minter.idl";
Expand Down
2 changes: 1 addition & 1 deletion packages/cmc/src/cmc.canister.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Principal } from "@dfinity/principal";
import { arrayOfNumberToUint8Array } from "@dfinity/utils";
import { mock } from "jest-mock-extended";
import type {
_SERVICE as CMCService,
IcpXdrConversionRateResponse,
NotifyCreateCanisterResult,
NotifyTopUpResult,
_SERVICE as CMCService,
} from "../candid/cmc";
import { CMCCanister } from "./cmc.canister";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/ic-management/src/types/ic-management.params.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Principal } from "@dfinity/principal";
import { toNullable, type ServiceParam } from "@dfinity/utils";
import type {
canister_settings,
_SERVICE as IcManagementService,
canister_settings,
} from "../../candid/ic-management";

export interface CanisterSettings {
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const agent = await createAgent({
host: HOST,
});

const { metadata } = LedgerCanister.create({
const { metadata } = IcrcLedgerCanister.create({
agent,
canisterId: MY_LEDGER_CANISTER_ID,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/src/index.canister.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Principal } from "@dfinity/principal";
import { mock } from "jest-mock-extended";
import type {
Account,
Transaction,
_SERVICE as IcrcIndexService,
Transaction,
} from "../candid/icrc1_index";
import { IndexError } from "./errors/index.errors";
import { IcrcIndexCanister } from "./index.canister";
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/src/ledger.canister.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { mock } from "jest-mock-extended";
import type {
Allowance,
ApproveArgs,
_SERVICE as IcrcLedgerService,
TransferArg,
TransferFromArgs,
_SERVICE as IcrcLedgerService,
} from "../candid/icrc1_ledger";
import { IcrcTransferError } from "./errors/ledger.errors";
import { IcrcLedgerCanister } from "./ledger.canister";
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/src/ledger.canister.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Canister, createServices, toNullable } from "@dfinity/utils";
import type {
Allowance,
BlockIndex,
Tokens,
_SERVICE as IcrcLedgerService,
Tokens,
} from "../candid/icrc1_ledger";
import { idlFactory as certifiedIdlFactory } from "../candid/icrc1_ledger.certified.idl";
import { idlFactory } from "../candid/icrc1_ledger.idl";
Expand Down
Loading

0 comments on commit 981bbb8

Please sign in to comment.