Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.6.7 #264

Merged
merged 2 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/docs/package.json
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": {
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/package.json
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": {
Expand Down
33 changes: 15 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/mesh-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/common",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/contract",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-core-csl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core-csl",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-core-cst/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core-cst",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
13 changes: 8 additions & 5 deletions packages/mesh-core-cst/src/stricahq/bip32ed25519/wrapper.ts
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;
7 changes: 4 additions & 3 deletions packages/mesh-core-cst/src/stricahq/cbors/wrapper.ts
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;
2 changes: 1 addition & 1 deletion packages/mesh-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/provider",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/react",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-transaction/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/transaction",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/wallet",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
61 changes: 14 additions & 47 deletions turbo.json
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"
}
}