-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from MeshJS/v1.6.7
V1.6.7
- Loading branch information
Showing
15 changed files
with
52 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@meshsdk/docs", | ||
"name": "docs", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@meshsdk/playground", | ||
"name": "playground", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
packages/mesh-core-cst/src/stricahq/bip32ed25519/wrapper.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
import * as cjsBip32ed25519 from "@stricahq/bip32ed25519"; | ||
|
||
// This ensures that TypeScript understands the types properly | ||
export const bip32ed25519 = cjsBip32ed25519; | ||
export const bip32ed25519: typeof cjsBip32ed25519 & { | ||
default?: typeof cjsBip32ed25519; | ||
} = cjsBip32ed25519; | ||
const exportedBip32ed25519 = bip32ed25519?.default || bip32ed25519; | ||
|
||
// Export individual classes and types | ||
export type StricaPrivateKey = cjsBip32ed25519.PrivateKey; | ||
export type StricaPublicKey = cjsBip32ed25519.PublicKey; | ||
export type StricaBip32PrivateKey = cjsBip32ed25519.Bip32PrivateKey; | ||
export type StricaBip32PublicKey = cjsBip32ed25519.Bip32PublicKey; | ||
|
||
export const StricaPrivateKey = cjsBip32ed25519.PrivateKey; | ||
export const StricaPublicKey = cjsBip32ed25519.PublicKey; | ||
export const StricaBip32PrivateKey = cjsBip32ed25519.Bip32PrivateKey; | ||
export const StricaBip32PublicKey = cjsBip32ed25519.Bip32PublicKey; | ||
export const StricaPrivateKey = exportedBip32ed25519.PrivateKey; | ||
export const StricaPublicKey = exportedBip32ed25519.PublicKey; | ||
export const StricaBip32PrivateKey = exportedBip32ed25519.Bip32PrivateKey; | ||
export const StricaBip32PublicKey = exportedBip32ed25519.Bip32PublicKey; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import * as cjsCbors from "@stricahq/cbors"; | ||
|
||
export const cbors = cjsCbors; | ||
export const cbors: typeof cjsCbors & { default?: typeof cjsCbors } = cjsCbors; | ||
const exportedCbors = cbors?.default || cbors; | ||
|
||
export const StricaEncoder = cjsCbors.Encoder; | ||
export const StricaEncoder = exportedCbors.Encoder; | ||
|
||
export const StricaDecoder = cjsCbors.Decoder; | ||
export const StricaDecoder = exportedCbors.Decoder; | ||
export type StricaDecoder = cjsCbors.Decoder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,43 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"globalDependencies": [ | ||
"**/.env.*local" | ||
], | ||
"globalDependencies": ["**/.env.*local"], | ||
"tasks": { | ||
"build": { | ||
"dependsOn": [ | ||
"^build:mesh", | ||
"^build:docs", | ||
"^build:apps" | ||
], | ||
"outputs": [ | ||
"dist/**", | ||
".next/**", | ||
"!.next/cache/**" | ||
] | ||
"dependsOn": ["^build:mesh", "^build:docs", "^build:apps"], | ||
"outputs": ["dist/**", ".next/**", "!.next/cache/**"] | ||
}, | ||
"build:apps": { | ||
"dependsOn": [ | ||
"^build:mesh", | ||
"^build:docs", | ||
"^build:apps" | ||
], | ||
"outputs": [ | ||
"dist/**" | ||
] | ||
"dependsOn": ["^build:mesh", "^build:docs", "^build:apps"], | ||
"outputs": ["dist/**", ".next/**", "!.next/cache/**"] | ||
}, | ||
"build:docs": { | ||
"dependsOn": [ | ||
"^build:mesh", | ||
"^build:docs" | ||
], | ||
"outputs": [ | ||
"dist/**" | ||
] | ||
"dependsOn": ["^build:mesh", "^build:docs"], | ||
"outputs": ["dist/**"] | ||
}, | ||
"build:mesh": { | ||
"dependsOn": [ | ||
"^build:mesh" | ||
], | ||
"outputs": [ | ||
"dist/**" | ||
] | ||
"dependsOn": ["^build:mesh"], | ||
"outputs": ["dist/**"] | ||
}, | ||
"lint": { | ||
"dependsOn": [ | ||
"^lint" | ||
] | ||
"dependsOn": ["^lint"] | ||
}, | ||
"dev": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"dependsOn": ["^build"], | ||
"cache": false, | ||
"persistent": true | ||
}, | ||
"clean": { | ||
"cache": false | ||
}, | ||
"pack": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"dependsOn": ["^build"], | ||
"cache": false | ||
}, | ||
"format": { | ||
"outputs": [ | ||
"node_modules/.cache/.prettiercache" | ||
], | ||
"outputs": ["node_modules/.cache/.prettiercache"], | ||
"outputLogs": "new-only" | ||
}, | ||
"test": {} | ||
}, | ||
"ui": "tui" | ||
} | ||
} |