diff --git a/examples/nodejs/src/experimental-features/metadata.ts b/examples/nodejs/src/experimental-features/metadata.ts deleted file mode 100644 index e7c8e711..00000000 --- a/examples/nodejs/src/experimental-features/metadata.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Address } from "@marlowe.io/language-core-v1"; - -export const splitAddress = ({ address }: Address) => { - const halfLength = Math.floor(address.length / 2); - const s1 = address.substring(0, halfLength); - const s2 = address.substring(halfLength); - return [s1, s2]; -}; diff --git a/examples/nodejs/src/marlowe-object-flow.ts b/examples/nodejs/src/marlowe-object-flow.ts index e9b57387..16844ccc 100644 --- a/examples/nodejs/src/marlowe-object-flow.ts +++ b/examples/nodejs/src/marlowe-object-flow.ts @@ -18,13 +18,10 @@ import { addressBech32, contractId, ContractId, - Metadata, stakeAddressBech32, StakeAddressBech32, - Tags, TxId, } from "@marlowe.io/runtime-core"; -import { Address } from "@marlowe.io/language-core-v1"; import { ContractBundleMap, lovelace, close } from "@marlowe.io/marlowe-object"; import { input, select } from "@inquirer/prompts"; import { RuntimeLifecycle } from "@marlowe.io/runtime-lifecycle/api"; @@ -34,7 +31,6 @@ import { mkApplicableActionsFilter, } from "./experimental-features/applicable-inputs.js"; import arg from "arg"; -import { splitAddress } from "./experimental-features/metadata.js"; import * as t from "io-ts/lib/index.js"; import { mkSourceMap, SourceMap } from "./experimental-features/source-map.js"; import { POSIXTime, posixTimeToIso8601 } from "@marlowe.io/adapter/time"; diff --git a/package-lock.json b/package-lock.json index 615b35fa..9abc8b60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9839,6 +9839,7 @@ } }, "packages/blueprint": { + "name": "@marlowe.io/blueprint", "version": "0.3.0-beta", "license": "Apache-2.0", "dependencies": {