From b9ff7d41c21ff98af2da8a65f6614e7ef94bb08a Mon Sep 17 00:00:00 2001 From: nhenin Date: Thu, 5 Oct 2023 12:30:18 +0200 Subject: [PATCH] bumped to 0.2.0-alpha-4 --- doc/howToDevelop.md | 12 +-- jsdelivr-npm-importmap.js | 81 +++++++++++++-------- package.json | 2 +- packages/adapter/package.json | 2 +- packages/language/core/v1/package.json | 2 +- packages/language/examples/package.json | 4 +- packages/runtime/client/rest/package.json | 8 +- packages/runtime/core/package.json | 4 +- packages/runtime/lifecycle/package.json | 4 +- packages/token-metadata-client/package.json | 2 +- packages/wallet/package.json | 2 +- rollup/config.mjs | 2 +- 12 files changed, 74 insertions(+), 51 deletions(-) diff --git a/doc/howToDevelop.md b/doc/howToDevelop.md index 1cb69309..437ae7d2 100644 --- a/doc/howToDevelop.md +++ b/doc/howToDevelop.md @@ -127,12 +127,12 @@ And in a separate project you can install the tarballs using a file url when dec ```json { "dependencies": { - "@marlowe.io/runtime-lifecycle": "file:/marlowe.io-runtime-lifecycle-0.2.0-alpha-3.tgz", - "@marlowe.io/runtime-rest-client": "file:/marlowe.io-runtime-rest-client-0.2.0-alpha-3.tgz", - "@marlowe.io/adapter": "file:/marlowe.io-adapter-0.2.0-alpha-3.tgz", - "@marlowe.io/runtime-core": "file:/marlowe.io-runtime-core-0.2.0-alpha-3.tgz", - "@marlowe.io/language-core-v1": "file:/marlowe.io-language-core-v1-0.2.0-alpha-3.tgz", - "@marlowe.io/wallet": "file:/marlowe.io-wallet-0.2.0-alpha-3.tgz" + "@marlowe.io/runtime-lifecycle": "file:/marlowe.io-runtime-lifecycle-0.2.0-alpha-4.tgz", + "@marlowe.io/runtime-rest-client": "file:/marlowe.io-runtime-rest-client-0.2.0-alpha-4.tgz", + "@marlowe.io/adapter": "file:/marlowe.io-adapter-0.2.0-alpha-4.tgz", + "@marlowe.io/runtime-core": "file:/marlowe.io-runtime-core-0.2.0-alpha-4.tgz", + "@marlowe.io/language-core-v1": "file:/marlowe.io-language-core-v1-0.2.0-alpha-4.tgz", + "@marlowe.io/wallet": "file:/marlowe.io-wallet-0.2.0-alpha-4.tgz" } } ``` diff --git a/jsdelivr-npm-importmap.js b/jsdelivr-npm-importmap.js index afaee9df..6460058f 100644 --- a/jsdelivr-npm-importmap.js +++ b/jsdelivr-npm-importmap.js @@ -1,32 +1,55 @@ const importMap = { - "imports": { - "@marlowe.io/adapter": "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-3/dist/bundled/esm/adapter.js", - "@marlowe.io/adapter/codec": "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-3/dist/bundled/esm/codec.js", - "@marlowe.io/adapter/file": "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-3/dist/bundled/esm/file.js", - "@marlowe.io/adapter/fp-ts": "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-3/dist/bundled/esm/fp-ts.js", - "@marlowe.io/adapter/http": "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-3/dist/bundled/esm/http.js", - "@marlowe.io/adapter/time": "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-3/dist/bundled/esm/time.js", - "@marlowe.io/language-core-v1": "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-core-v1@0.2.0-alpha-3/dist/bundled/esm/language-core-v1.js", - "@marlowe.io/language-core-v1/next": "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-core-v1@0.2.0-alpha-3/dist/bundled/esm/next.js", - "@marlowe.io/language-core-v1/version": "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-core-v1@0.2.0-alpha-3/dist/bundled/esm/version.js", - "@marlowe.io/language-examples": "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-examples@0.2.0-alpha-3/dist/bundled/esm/language-examples.js", - "@marlowe.io/token-metadata-client": "https:/cdn.jsdelivr.net/npm/@marlowe.io/token-metadata-client@0.2.0-alpha-3/dist/bundled/esm/token-metadata-client.js", - "@marlowe.io/wallet": "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-3/dist/bundled/esm/wallet.js", - "@marlowe.io/wallet/api": "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-3/dist/bundled/esm/api.js", - "@marlowe.io/wallet/browser": "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-3/dist/bundled/esm/browser.js", - "@marlowe.io/wallet/nodejs": "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-3/dist/bundled/esm/nodejs.js", - "@marlowe.io/runtime-rest-client": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-rest-client@0.2.0-alpha-3/dist/bundled/esm/runtime-rest-client.js", - "@marlowe.io/runtime-rest-client/transaction": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-rest-client@0.2.0-alpha-3/dist/bundled/esm/transaction.js", - "@marlowe.io/runtime-rest-client/withdrawal": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-rest-client@0.2.0-alpha-3/dist/bundled/esm/withdrawal.js", - "@marlowe.io/runtime-core": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-core@0.2.0-alpha-3/dist/bundled/esm/runtime-core.js", - "@marlowe.io/runtime-lifecycle": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-3/dist/bundled/esm/runtime-lifecycle.js", - "@marlowe.io/runtime-lifecycle/api": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-3/dist/bundled/esm/api.js", - "@marlowe.io/runtime-lifecycle/browser": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-3/dist/bundled/esm/browser.js", - "@marlowe.io/runtime-lifecycle/generic": "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-3/dist/bundled/esm/generic.js", - "lucid-cardano": "https://unpkg.com/lucid-cardano@0.10.7/web/mod.js" - } + imports: { + "@marlowe.io/adapter": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-4/dist/bundled/esm/adapter.js", + "@marlowe.io/adapter/codec": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-4/dist/bundled/esm/codec.js", + "@marlowe.io/adapter/file": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-4/dist/bundled/esm/file.js", + "@marlowe.io/adapter/fp-ts": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-4/dist/bundled/esm/fp-ts.js", + "@marlowe.io/adapter/http": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-4/dist/bundled/esm/http.js", + "@marlowe.io/adapter/time": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/adapter@0.2.0-alpha-4/dist/bundled/esm/time.js", + "@marlowe.io/language-core-v1": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-core-v1@0.2.0-alpha-4/dist/bundled/esm/language-core-v1.js", + "@marlowe.io/language-core-v1/next": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-core-v1@0.2.0-alpha-4/dist/bundled/esm/next.js", + "@marlowe.io/language-core-v1/version": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-core-v1@0.2.0-alpha-4/dist/bundled/esm/version.js", + "@marlowe.io/language-examples": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/language-examples@0.2.0-alpha-4/dist/bundled/esm/language-examples.js", + "@marlowe.io/token-metadata-client": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/token-metadata-client@0.2.0-alpha-4/dist/bundled/esm/token-metadata-client.js", + "@marlowe.io/wallet": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-4/dist/bundled/esm/wallet.js", + "@marlowe.io/wallet/api": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-4/dist/bundled/esm/api.js", + "@marlowe.io/wallet/browser": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-4/dist/bundled/esm/browser.js", + "@marlowe.io/wallet/nodejs": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/wallet@0.2.0-alpha-4/dist/bundled/esm/nodejs.js", + "@marlowe.io/runtime-rest-client": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-rest-client@0.2.0-alpha-4/dist/bundled/esm/runtime-rest-client.js", + "@marlowe.io/runtime-rest-client/transaction": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-rest-client@0.2.0-alpha-4/dist/bundled/esm/transaction.js", + "@marlowe.io/runtime-rest-client/withdrawal": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-rest-client@0.2.0-alpha-4/dist/bundled/esm/withdrawal.js", + "@marlowe.io/runtime-core": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-core@0.2.0-alpha-4/dist/bundled/esm/runtime-core.js", + "@marlowe.io/runtime-lifecycle": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-4/dist/bundled/esm/runtime-lifecycle.js", + "@marlowe.io/runtime-lifecycle/api": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-4/dist/bundled/esm/api.js", + "@marlowe.io/runtime-lifecycle/browser": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-4/dist/bundled/esm/browser.js", + "@marlowe.io/runtime-lifecycle/generic": + "https:/cdn.jsdelivr.net/npm/@marlowe.io/runtime-lifecycle@0.2.0-alpha-4/dist/bundled/esm/generic.js", + "lucid-cardano": "https://unpkg.com/lucid-cardano@0.10.7/web/mod.js", + }, }; -const im = document.createElement('script'); -im.type = 'importmap'; +const im = document.createElement("script"); +im.type = "importmap"; im.textContent = JSON.stringify(importMap); -document.currentScript.after(im); \ No newline at end of file +document.currentScript.after(im); diff --git a/package.json b/package.json index 06e2b869..a0f89b06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "marlowe-ts-sdk", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Marlowe Runtime SDK for building and managing Marlowe Contracts", "engines": { "node": ">=14.20.1" diff --git a/packages/adapter/package.json b/packages/adapter/package.json index 3c33b128..4feac93c 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/adapter", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Infrastruture Supporting SubDomains libraries", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { diff --git a/packages/language/core/v1/package.json b/packages/language/core/v1/package.json index 6ecd6592..a84ac085 100644 --- a/packages/language/core/v1/package.json +++ b/packages/language/core/v1/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/language-core-v1", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Library to manipulate Marlowe Core contracts", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { diff --git a/packages/language/examples/package.json b/packages/language/examples/package.json index 929d4afb..26d3a52b 100644 --- a/packages/language/examples/package.json +++ b/packages/language/examples/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/language-examples", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Example contracts using language-core-v1", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { @@ -32,7 +32,7 @@ } }, "dependencies": { - "@marlowe.io/language-core-v1": "0.2.0-alpha-3", + "@marlowe.io/language-core-v1": "0.2.0-alpha-4", "date-fns": "2.29.3", "fp-ts": "^2.16.1" } diff --git a/packages/runtime/client/rest/package.json b/packages/runtime/client/rest/package.json index c8ced5c4..b6160721 100644 --- a/packages/runtime/client/rest/package.json +++ b/packages/runtime/client/rest/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/runtime-rest-client", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Client of Runtime REST API", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { @@ -44,9 +44,9 @@ "./contract/*": "./dist/esm/contract/*.js" }, "dependencies": { - "@marlowe.io/adapter": "0.2.0-alpha-3", - "@marlowe.io/language-core-v1": "0.2.0-alpha-3", - "@marlowe.io/runtime-core": "0.2.0-alpha-3", + "@marlowe.io/adapter": "0.2.0-alpha-4", + "@marlowe.io/language-core-v1": "0.2.0-alpha-4", + "@marlowe.io/runtime-core": "0.2.0-alpha-4", "qs": "^6.11.2", "fp-ts": "^2.13.1", "io-ts": "2.2.20", diff --git a/packages/runtime/core/package.json b/packages/runtime/core/package.json index c0461c46..f26fd750 100644 --- a/packages/runtime/core/package.json +++ b/packages/runtime/core/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/runtime-core", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Core concepts used throughout the Marlowe Runtime libraries", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { @@ -32,7 +32,7 @@ } }, "dependencies": { - "@marlowe.io/language-core-v1": "0.2.0-alpha-3", + "@marlowe.io/language-core-v1": "0.2.0-alpha-4", "fp-ts": "^2.16.0", "io-ts": "2.2.20", "newtype-ts": "0.3.5" diff --git a/packages/runtime/lifecycle/package.json b/packages/runtime/lifecycle/package.json index 3aa8849f..d5aaa406 100644 --- a/packages/runtime/lifecycle/package.json +++ b/packages/runtime/lifecycle/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/runtime-lifecycle", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Entry Point for Running remotely Marlowe Contracts over a backend instance of the runtime using a connected wallet.", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { @@ -49,7 +49,7 @@ } }, "dependencies": { - "@marlowe.io/runtime-rest-client": "0.2.0-alpha-3", + "@marlowe.io/runtime-rest-client": "0.2.0-alpha-4", "fp-ts": "^2.13.1", "io-ts": "2.2.20", "newtype-ts": "0.3.5", diff --git a/packages/token-metadata-client/package.json b/packages/token-metadata-client/package.json index 6fa0f321..2bdcaa02 100644 --- a/packages/token-metadata-client/package.json +++ b/packages/token-metadata-client/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/token-metadata-client", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "TODO", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { diff --git a/packages/wallet/package.json b/packages/wallet/package.json index dbbaa97a..5554fb1e 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@marlowe.io/wallet", - "version": "0.2.0-alpha-3", + "version": "0.2.0-alpha-4", "description": "Cardano Wallet Capabalities for Marlowe specific environment", "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", "publishConfig": { diff --git a/rollup/config.mjs b/rollup/config.mjs index 056e5c2f..5b1f9487 100644 --- a/rollup/config.mjs +++ b/rollup/config.mjs @@ -45,7 +45,7 @@ const projectRoot = path.join( ); await buildImportMapScript(packagesInfo, {type: "local"}, path.join(projectRoot, "dist")); -await buildImportMapScript(packagesInfo, {type: "jsdelivr-npm", version: "0.2.0-alpha-3"}, projectRoot); +await buildImportMapScript(packagesInfo, {type: "jsdelivr-npm", version: "0.2.0-alpha-4"}, projectRoot); // This is for testing purposes only, search [[Publish pre-check]] await buildImportMapScript(packagesInfo, {type: "jsdelivr-gh", owner: "hrajchert", version: "126dfc25b8ae524f5bad1707fd20b4568be3f6ef"}, path.join(projectRoot, "dist"));