Skip to content

Commit

Permalink
/lib deleted form imports in tests and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
volovyks committed Nov 11, 2022
1 parent 7a26824 commit b209491
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions examples/src/standard-nft/my-nft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
NearPromise,
PromiseOrValue,
view,
} from "near-sdk-js/lib";
} from "near-sdk-js";
import {
NFTContractMetadata,
NonFungibleTokenMetadataProvider,
Expand All @@ -19,7 +19,7 @@ import {
IntoStorageKey,
Option,
} from "near-contract-standards/lib/non_fungible_token/utils";
import { AccountId } from "near-sdk-js/lib/types";
import { AccountId } from "near-sdk-js";
import { NonFungibleTokenCore } from "near-contract-standards/lib/non_fungible_token/core";
import {
Token,
Expand Down
4 changes: 2 additions & 2 deletions examples/src/standard-nft/test-approval-receiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
PromiseOrValue,
assert,
call,
} from "near-sdk-js/lib";
import { AccountId } from "near-sdk-js/lib/types";
} from "near-sdk-js";
import { AccountId } from "near-sdk-js";
import { NonFungibleTokenApprovalReceiver } from "near-contract-standards/lib/non_fungible_token/approval/approval_receiver";

const BASE_GAS = 20_000_000_000_000n;
Expand Down
4 changes: 2 additions & 2 deletions examples/src/standard-nft/test-token-receiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
NearBindgen,
NearPromise,
PromiseOrValue,
} from "near-sdk-js/lib";
import { AccountId } from "near-sdk-js/lib/types";
} from "near-sdk-js";
import { AccountId } from "near-sdk-js";

const BASE_GAS = 10_000_000_000_000n;
const PROMISE_CALL = 10_000_000_000_000n;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/highlevel-promise.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NearBindgen, call, NearPromise, near, bytes } from "near-sdk-js";
import { PublicKey } from "near-sdk-js/lib/types";
import { PublicKey } from "near-sdk-js";

function callingData() {
return {
Expand Down
4 changes: 2 additions & 2 deletions tests/src/public-key.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { near, bytes } from "near-sdk-js";
import { CurveType, PublicKey } from "near-sdk-js/lib/types";
import { assert } from "near-sdk-js/lib/utils";
import { CurveType, PublicKey } from "near-sdk-js";
import { assert } from "near-sdk-js";

function runtime_validate_public_key(prefix, public_key) {
let promiseId = near.promiseBatchCreate(prefix + ".pk.test.near");
Expand Down

0 comments on commit b209491

Please sign in to comment.