Skip to content

Commit

Permalink
cleanup + changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-demox committed Oct 17, 2024
1 parent 1c90071 commit 97824ea
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 75 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 0.6.0 (TBD)

* WASM Input note tests + input note model updates
* Fixed WASM + added additional WASM models (#548)
* Added dedicated separate table for tracked tags (#535).
* [BREAKING] Added support for committed and discarded transactions (#531).
Expand Down
2 changes: 1 addition & 1 deletion crates/web-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@demox-labs/miden-sdk",
"version": "0.0.12",
"version": "0.0.13",
"description": "Polygon Miden Wasm SDK",
"collaborators": [
"Polygon Miden",
Expand Down
2 changes: 0 additions & 2 deletions crates/web-client/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,6 @@
// Done
async function testCreateNewWallet() {
console.log('testCreateNewWallet started');
console.log({NoteFilter})
console.log({NoteState})
let webClient = await createMidenWebClient();

// await createNewWallet(webClient, "Private", true);
Expand Down
72 changes: 0 additions & 72 deletions crates/web-client/test/mocha.global.setup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,78 +109,6 @@ before(async () => {
window.TransactionScriptInputPairArray = TransactionScriptInputPairArray;
}, LOCAL_MIDEN_NODE_PORT);

await testingPage.exposeFunction("create_client", async () => {
await testingPage.evaluate(async (port) => {
const {
Account,
AccountHeader,
AccountId,
AccountStorageMode,
AdviceMap,
AuthSecretKey,
Felt,
FeltArray,
FungibleAsset,
Note,
NoteAssets,
NoteExecutionHint,
NoteExecutionMode,
NoteFilter,
NoteFilterTypes,
NoteIdAndArgs,
NoteIdAndArgsArray,
NoteInputs,
NoteMetadata,
NoteRecipient,
NoteTag,
NoteType,
OutputNote,
OutputNotesArray,
Rpo256,
TestUtils,
TransactionFilter,
TransactionRequest,
TransactionScriptInputPair,
TransactionScriptInputPairArray,
WebClient,
} = await import("./index.js");
let rpc_url = `http://localhost:${port}`;
const client = new WebClient();
await client.create_client(rpc_url);

window.client = client;
window.Account = Account;
window.AccountHeader = AccountHeader;
window.AccountId = AccountId;
window.AccountStorageMode = AccountStorageMode;
window.AdviceMap = AdviceMap;
window.AuthSecretKey = AuthSecretKey;
window.Felt = Felt;
window.FeltArray = FeltArray;
window.FungibleAsset = FungibleAsset;
window.Note = Note;
window.NoteAssets = NoteAssets;
window.NoteExecutionHint = NoteExecutionHint;
window.NoteExecutionMode = NoteExecutionMode;
window.NoteFilter = NoteFilter;
window.NoteFilterTypes = NoteFilterTypes;
window.NoteIdAndArgs = NoteIdAndArgs;
window.NoteIdAndArgsArray = NoteIdAndArgsArray;
window.NoteInputs = NoteInputs;
window.NoteMetadata = NoteMetadata;
window.NoteRecipient = NoteRecipient;
window.NoteTag = NoteTag;
window.NoteType = NoteType;
window.OutputNote = OutputNote;
window.OutputNotesArray = OutputNotesArray;
window.Rpo256 = Rpo256;
window.TestUtils = TestUtils;
window.TransactionFilter = TransactionFilter;
window.TransactionRequest = TransactionRequest;
window.TransactionScriptInputPair = TransactionScriptInputPair;
window.TransactionScriptInputPairArray = TransactionScriptInputPairArray;
}, LOCAL_MIDEN_NODE_PORT);
});
});

after(async () => {
Expand Down

0 comments on commit 97824ea

Please sign in to comment.