Skip to content

Commit

Permalink
bumped to 0.2.0-alpha-4
Browse files Browse the repository at this point in the history
  • Loading branch information
nhenin committed Oct 5, 2023
1 parent b3623aa commit b9ff7d4
Show file tree
Hide file tree
Showing 12 changed files with 74 additions and 51 deletions.
12 changes: 6 additions & 6 deletions doc/howToDevelop.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<path-to-dist>/marlowe.io-runtime-lifecycle-0.2.0-alpha-3.tgz",
"@marlowe.io/runtime-rest-client": "file:<path-to-dist>/marlowe.io-runtime-rest-client-0.2.0-alpha-3.tgz",
"@marlowe.io/adapter": "file:<path-to-dist>/marlowe.io-adapter-0.2.0-alpha-3.tgz",
"@marlowe.io/runtime-core": "file:<path-to-dist>/marlowe.io-runtime-core-0.2.0-alpha-3.tgz",
"@marlowe.io/language-core-v1": "file:<path-to-dist>/marlowe.io-language-core-v1-0.2.0-alpha-3.tgz",
"@marlowe.io/wallet": "file:<path-to-dist>/marlowe.io-wallet-0.2.0-alpha-3.tgz"
"@marlowe.io/runtime-lifecycle": "file:<path-to-dist>/marlowe.io-runtime-lifecycle-0.2.0-alpha-4.tgz",
"@marlowe.io/runtime-rest-client": "file:<path-to-dist>/marlowe.io-runtime-rest-client-0.2.0-alpha-4.tgz",
"@marlowe.io/adapter": "file:<path-to-dist>/marlowe.io-adapter-0.2.0-alpha-4.tgz",
"@marlowe.io/runtime-core": "file:<path-to-dist>/marlowe.io-runtime-core-0.2.0-alpha-4.tgz",
"@marlowe.io/language-core-v1": "file:<path-to-dist>/marlowe.io-language-core-v1-0.2.0-alpha-4.tgz",
"@marlowe.io/wallet": "file:<path-to-dist>/marlowe.io-wallet-0.2.0-alpha-4.tgz"
}
}
```
Expand Down
81 changes: 52 additions & 29 deletions jsdelivr-npm-importmap.js
Original file line number Diff line number Diff line change
@@ -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);
document.currentScript.after(im);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/language/core/v1/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/language/examples/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/runtime/client/rest/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/runtime/core/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/runtime/lifecycle/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/token-metadata-client/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion rollup/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand Down

0 comments on commit b9ff7d4

Please sign in to comment.