@wix/auto_sdk_blog_posts 1.0.46 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +6 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +10 -0
- package/build/cjs/index.typings.js +6 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -0
- package/build/es/index.mjs +6 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +10 -0
- package/build/es/index.typings.mjs +6 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -0
- package/build/internal/cjs/index.js +6 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +10 -0
- package/build/internal/cjs/index.typings.js +6 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -0
- package/build/internal/es/index.mjs +6 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +10 -0
- package/build/internal/es/index.typings.mjs +6 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -0
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
@@ -1429,7 +1429,7 @@ async function getPost2(postId, options) {
|
|
1429
1429
|
async function getPostBySlug2(slug, options) {
|
1430
1430
|
const { httpClient, sideEffects } = arguments[2];
|
1431
1431
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
1432
|
-
{ slug, fieldsets: options?.fieldsets },
|
1432
|
+
{ slug, fieldsets: options?.fieldsets, language: options?.language },
|
1433
1433
|
[]
|
1434
1434
|
);
|
1435
1435
|
const reqOpts = getPostBySlug(payload);
|
@@ -1467,7 +1467,11 @@ async function getPostBySlug2(slug, options) {
|
|
1467
1467
|
err,
|
1468
1468
|
{
|
1469
1469
|
spreadPathsToArguments: {},
|
1470
|
-
explicitPathsToArguments: {
|
1470
|
+
explicitPathsToArguments: {
|
1471
|
+
slug: "$[0]",
|
1472
|
+
fieldsets: "$[1].fieldsets",
|
1473
|
+
language: "$[1].language"
|
1474
|
+
},
|
1471
1475
|
singleArgumentUnchanged: false
|
1472
1476
|
},
|
1473
1477
|
["slug", "options"]
|