fix: renamed the internal wasm_bindgen init function to avoid collision

This commit is contained in:
Russell Wong
2022-03-10 18:58:22 +08:00
committed by Michael Vines
parent 35d1235ed0
commit 7b238b3645
6 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
import { expect } from "chai";
import { init, Keypair } from "crate";
init();
import { solana_program_init, Keypair } from "crate";
solana_program_init();
describe("Keypair", function () {
it("works", () => {

View File

@ -1,6 +1,6 @@
import { expect } from "chai";
import {
init,
solana_program_init,
Pubkey,
Keypair,
Hash,
@ -8,7 +8,7 @@ import {
Instructions,
Transaction,
} from "crate";
init();
solana_program_init();
describe("Transaction", function () {
it("SystemInstruction::Transfer", () => {