Skip to content

Commit

Permalink
Merge branch 'main' of github.com:jpg-store/lucid into jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
joacohoyos committed Aug 3, 2023
2 parents a549b40 + 9986d05 commit 04b86e1
Show file tree
Hide file tree
Showing 15 changed files with 30,298 additions and 15,966 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"tasks": {
"build": "deno run --allow-env --allow-write --allow-read --allow-net --allow-run build.ts",
"build:core": "cd src/core/libs/cardano_multiplatform_lib && deno run -A https://raw.githubusercontent.com/spacebudz/wasmbuild/f4fa6c730a7048488f32150ae421e0c3691cc666/main.ts --out ./; cd ../cardano_message_signing && deno run -A https://raw.githubusercontent.com/spacebudz/wasmbuild/f4fa6c730a7048488f32150ae421e0c3691cc666/main.ts --out ./",
"publish": "deno task build && cd dist && npm publish",
"build:core": "cd src/core/libs/cardano_multiplatform_lib && deno run -A https://raw.githubusercontent.com/spacebudz/wasmbuild/a0fec73985b0f0a9120b5077e292963d513795d4/main.ts --out ./; cd ../cardano_message_signing && deno run -A https://raw.githubusercontent.com/spacebudz/wasmbuild/a0fec73985b0f0a9120b5077e292963d513795d4/main.ts --out ./",
"publish": "deno task build && deno task test && npm publish dist",
"test": "deno test --allow-env --allow-read --allow-net tests",
"test:core": "cd src/core/libs/cardano_multiplatform_lib && cargo test; cd ../cardano_message_signing && cargo test"
},
Expand Down
9 changes: 5 additions & 4 deletions docs/docs/getting-started/choose-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ const lucid = await Lucid.new(
import { Lucid, Maestro } from "https://deno.land/x/lucid/mod.ts";

const lucid = await Lucid.new(
new Maestro(
"https://preprod.gomaestro-api.org/v0", // For MAINNET: "https://mainnet.gomaestro-api.org/v0".
"<api-key>", // Get yours @ https://docs.gomaestro.org/docs/Getting-started/Sign-up-login.
),
new Maestro({
network: "Preprod", // For MAINNET: "Mainnet".
apiKey: "<Your-API-Key>", // Get yours by visiting https://docs.gomaestro.org/docs/Getting-started/Sign-up-login.
turboSubmit: false // Read about paid turbo transaction submission feature at https://docs.gomaestro.org/docs/Dapp%20Platform/Turbo%20Transaction.
}),
"Preprod", // For MAINNET: "Mainnet".
);
```
Expand Down
9 changes: 5 additions & 4 deletions docs/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@ usage:
import { Maestro, Lucid } from "https://deno.land/x/lucid/mod.ts";
const lucid = await Lucid.new(
new Maestro(
"https://preprod.gomaestro-api.org/v0", // For MAINNET: "https://mainnet.gomaestro-api.org/v0".
"<api-key>", // Get yours @ https://docs.gomaestro.org/docs/Getting-started/Sign-up-login.
),
new Maestro({
network: "Preprod", // For MAINNET: "Mainnet".
apiKey: "<Your-API-Key>", // Get yours by visiting https://docs.gomaestro.org/docs/Getting-started/Sign-up-login.
turboSubmit: false // Read about paid turbo transaction submission feature at https://docs.gomaestro.org/docs/Dapp%20Platform/Turbo%20Transaction.
}),
"Preprod", // For MAINNET: "Mainnet".
);
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jpg-store/lucid-cardano",
"version": "0.10.10",
"version": "0.10.12",
"license": "MIT",
"description": "This is a fork of the original Lucid repo compiled into CommonJS. For more information check https://github.com/spacebudz/lucid",
"repository": "https://github.com/jpg-store/lucid",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3830,6 +3830,7 @@ async function instantiateModule(opts) {

switch (wasmUrl.protocol) {
case "": // relative URL
case "chrome-extension:":
case "file:":
case "https:":
case "http:": {
Expand Down
Loading

0 comments on commit 04b86e1

Please sign in to comment.