Skip to content

Commit

Permalink
Weaverse SDKs v2.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-phan committed Dec 12, 2023
1 parent 36eff22 commit a4670a9
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weaverse-sdks",
"version": "2.8.2",
"version": "2.8.4",
"description": "Weaverse SDKs monorepo.",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@weaverse/core",
"author": "Weaverse Team",
"description": "Weaverse Core",
"version": "2.8.2",
"version": "2.8.4",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export interface BasicInput<ConfigsType = AdditionalInputConfigs> {
* `imagesPerRow.gt.1`
*/
condition?: string
defaultValue?: string | number | boolean | Partial<WeaverseImage>
defaultValue?: string | number | boolean | Partial<WeaverseImage> | {[x: string]: any}
placeholder?: string
helpText?: string
}
Expand Down
4 changes: 2 additions & 2 deletions packages/hydrogen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@weaverse/hydrogen",
"author": "Weaverse Team",
"description": "Components, hooks, and utilities for building Shopify Hydrogen websites with Weaverse",
"version": "2.8.2",
"version": "2.8.4",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -40,7 +40,7 @@
"singleQuote": true
},
"dependencies": {
"@weaverse/react": "2.8.2",
"@weaverse/react": "2.8.4",
"react-error-boundary": "^4.0.11"
},
"devDependencies": {
Expand Down
7 changes: 4 additions & 3 deletions packages/hydrogen/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,14 @@ export type HydrogenThemeEnv = {
PUBLIC_CUSTOMER_ACCOUNT_API_CLIENT_ID: string;
PUBLIC_CUSTOMER_ACCOUNT_API_URL: string;
}

export type WeaverseClientArgs = {
export type CreateWeaverseClientArgs ={
request: Request
cache: Cache
waitUntil: ExecutionContext['waitUntil']
env: HydrogenThemeEnv
storefront: Storefront<I18nBase>
storefront: Storefront<I18nBase> | any
}
export type WeaverseClientArgs = CreateWeaverseClientArgs & {
components: HydrogenComponent[]
countries?: Localizations
themeSchema: HydrogenThemeSchema
Expand Down
8 changes: 4 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@weaverse/react",
"author": "Weaverse Team",
"description": "React bindings for Weaverse",
"version": "2.8.2",
"version": "2.8.4",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -30,15 +30,15 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"clsx": "*"
"react-dom": ">=18"
},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true
},
"dependencies": {
"@weaverse/core": "2.8.2"
"@weaverse/core": "2.8.4",
"clsx": "^2.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@weaverse/shopify",
"author": "Weaverse Team",
"description": "Weaverse Components for Shopify Online Store 2.0 Section builder",
"version": "2.8.2",
"version": "2.8.4",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -40,7 +40,7 @@
"dependencies": {
"@radix-ui/react-dialog": "^1.0.5",
"@stitches/react": "^1.2.8",
"@weaverse/react": "2.8.2",
"@weaverse/react": "2.8.4",
"clsx": "^2.0.0",
"keen-slider": "^6.8.6"
}
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion templates/pilot

0 comments on commit a4670a9

Please sign in to comment.