@picked/shopify 0.0.1-dev.1785287094311 → 0.0.1-dev.1785826066660
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/dist/.tsbuildinfo +1 -0
- package/dist/{ajax-api-DNqs1Sea.js → ajax-api-TzqQuV55.js} +1 -1
- package/dist/esm/ajax-api/index.js +1 -1
- package/dist/esm/json-api/index.js +1 -1
- package/dist/esm/picked-app/index.js +1 -1
- package/dist/esm/plugins/shopify/index.js +1 -1
- package/dist/esm/storefront-api/index.js +1 -1
- package/dist/esm/utils/index.js +1 -1
- package/dist/types/ajax-api/index.d.ts +1 -1
- package/dist/types/json-api/index.d.ts +1 -1
- package/dist/types/plugins/shopify/global-obj.d.ts +2 -2
- package/dist/types/plugins/shopify/picked-config.d.ts +6 -2
- package/dist/types/plugins/shopify/plugin.d.ts +2 -1
- package/dist/types/plugins/shopify/predicates.d.ts +4 -4
- package/dist/types/plugins/shopify/predicates.d.ts.map +1 -1
- package/dist/types/storefront-api/index.d.ts +2 -2
- package/dist/types/utils/debounce.d.ts.map +1 -1
- package/package.json +20 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"7.0.0-dev.20260707.2","root":[[64,68],[110,120],[136,137]],"packageJsons":["../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/package.json","../../../node_modules/.pnpm/@shopify+storefront-api-client@1.0.10/node_modules/@shopify/storefront-api-client/package.json","../../../node_modules/.pnpm/effector@23.4.4/node_modules/effector/package.json","../../client/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/package.json","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/api-client-utilities/package.json","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/graphql-client/package.json","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/package.json","../../../node_modules/.pnpm/@shopify+storefront-api-client@1.0.10/node_modules/@shopify/storefront-api-client/dist/package.json","../../../node_modules/.pnpm/@shopify+storefront-api-client@1.0.10/node_modules/@shopify/storefront-api-client/dist/ts/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../src/ajax-api/types.ts","../src/json-api/types.ts","../src/storefront-api/types.ts","../src/types.ts","../src/index.ts","../../../node_modules/.pnpm/effector@23.4.4/node_modules/effector/index.d.ts","../../client/dist/types/entities/component/lazyComponent.d.ts","../../client/dist/types/entities/component/component.d.ts","../../client/dist/types/logic-engine.d.ts","../../client/dist/types/entities/condition/condition.d.ts","../../client/dist/types/entities/content/content.d.ts","../../client/dist/types/entities/step/step.d.ts","../../client/dist/types/entities/history/history.d.ts","../../client/dist/types/entities/experience-instance/experience-instance.d.ts","../../client/dist/types/entities/framework/framework.d.ts","../../client/dist/types/entities/experience/experience.d.ts","../../client/dist/types/entities/plugin/plugin.d.ts","../../client/dist/types/utils/logger.d.ts","../../client/dist/types/lifecycle/rules-logic.d.ts","../../client/dist/types/lifecycle/condition-selection.d.ts","../../client/dist/types/lifecycle/lifecycle.d.ts","../../client/dist/types/entities/feature/feature.d.ts","../../client/dist/types/entities/field/field.d.ts","../../client/dist/types/entities/response/response-validation.d.ts","../../client/dist/types/entities/response/response.d.ts","../../client/dist/types/entities/session/session.d.ts","../../client/dist/types/utils/events.d.ts","../../client/dist/types/plugins/dynamic-experiences/types.d.ts","../../client/dist/types/entities/action/action.d.ts","../../client/dist/types/picked.d.ts","../../client/dist/types/lifecycle/state-snapshot.d.ts","../../client/dist/types/entities/predicate/predicate.d.ts","../../client/dist/types/client.d.ts","../../client/dist/types/utils/dom.d.ts","../../client/dist/types/utils/rehydrate-scripts.d.ts","../../client/dist/types/utils/html-asset-value.d.ts","../../client/dist/types/utils/preview-session.d.ts","../../client/dist/types/utils/inert-script-report.d.ts","../../client/dist/types/utils/supports.d.ts","../../client/dist/types/utils/storage.d.ts","../../client/dist/types/utils/rules-logic.d.ts","../../client/dist/types/utils/picked-config.d.ts","../../client/dist/types/entities/content/reference.d.ts","../../client/dist/types/exports.d.ts","../../client/dist/types/utils/search-params.d.ts","../../client/dist/types/index.d.ts","../src/utils/debounce.ts","../src/plugins/shopify/types.ts","../src/plugins/shopify/picked-config.ts","../src/plugins/shopify/predicates.ts","../src/plugins/shopify/global-obj.ts","../src/plugins/shopify/plugin.ts","../src/plugins/shopify/index.ts","../src/utils/request.ts","../src/ajax-api/index.ts","../src/json-api/index.ts","../src/picked-app/index.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/graphql-client/types.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/graphql-client/graphql-client.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/graphql-client/index.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/graphql-client/utilities.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/api-client-utilities/operation-types.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/api-client-utilities/types.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/api-client-utilities/validations.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/api-client-utilities/api-versions.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/graphql-client/http-fetch.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/api-client-utilities/utilities.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/api-client-utilities/index.d.ts","../../../node_modules/.pnpm/@shopify+graphql-client@1.4.2/node_modules/@shopify/graphql-client/dist/ts/index.d.ts","../../../node_modules/.pnpm/@shopify+storefront-api-client@1.0.10/node_modules/@shopify/storefront-api-client/dist/ts/types.d.ts","../../../node_modules/.pnpm/@shopify+storefront-api-client@1.0.10/node_modules/@shopify/storefront-api-client/dist/ts/storefront-api-client.d.ts","../../../node_modules/.pnpm/@shopify+storefront-api-client@1.0.10/node_modules/@shopify/storefront-api-client/dist/ts/index.d.ts","../src/storefront-api/index.ts","../src/utils/index.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237",{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"44ec192ecdb7d1b1a46e310ed6fecd0d","signature":"2a1d897b99dc8db742f899e71ff4bc2b","impliedNodeFormat":1},{"version":"588f0deb0d66e5e94a5c226258f5491d","signature":"609748ba5a6ac9bd1d7ed09deb3a3983","impliedNodeFormat":1},{"version":"6a54066fbee30a8de87c1ffb172a3a96","signature":"7b41f07aac2c3d22482c40434d459812","impliedNodeFormat":1},{"version":"f9fa2a82b71981290fa66cd23b432c60","signature":"65768f510c037971aa58d265cfcc57c8","impliedNodeFormat":1},{"version":"9b4d425f4b00d5c483b9b457eb60c104","signature":"3696f8d0ec84ff48464003547c0b23b2","impliedNodeFormat":1},"4d30d5ec0ec1f3784ba6050d307a4db5","c693b09dcd6d7e0986763de264a6456e","331eba2c930bea66378f3e58658b17fb","2417555c1e04f6e895c47040aa7d56a0","8520fb9b295b10dd7d5bd1805eb6dc05","257aa345e35665cec2f78afe005faa9e","990bc7054c18efd1fc19e21df19fb00a","5859a130c0b0cb8b9661e2cdc0ac0cd0","3490cb20f25902f9390bb41a7399f899","239b4ca55b42b39d96c24ce761c9f16a","e9abcc1e3852c37e53d75cbb94a5c348","d515c84401cd57095cee1c1d83ac4d09","b7ca911c22ea11fd08f4643020b1450d","e2125552fa2b9ddfbc8bb60bdac55c97","486d01fd3c94ebd16f84f6536f6f1c91","04aefe95feb1c545176802440b4a27a6","383cb6dfc22a4f78a01b8f4862754d63","e9847816d5d102b67b02a82181f0c854","dbff577bf4b6d09d2e3fc5744979029e","caa3fa122d3aa2c0ecf2cb99655d9a94","cf5eeae444c70998a0a5b5481d5fedf2","4b663cbfa79328782290b845f0c65368","b284e64ebdcbf5e2ffef30e3ac9c68b7","d9a3195225b0ff4294742beac832d252","cc39124886f769cc7f18b3e319af3a94","9b7f6365fa9ad8d272d6953ee99c7a20","ca5b5f0c47153cfb8d1b3b27192fbce7","eae6a2716c8ebb54d71127dd4f28f83a","6d4649cdd413dd635ac0ca0b37d452cc",{"version":"4198eb85452f1ee8650e3525ebc56405","affectsGlobalScope":true,"impliedNodeFormat":1},"a51a8e6599581e605aa01164b2aecf58","698b1018d1c18af70f8828dcf86dfb3f","8378623bb64e556c9c62d37b214e3f2a","f1b6fd6b86d263291725f1e6450c7a0f","a860181621c15a4495aea811188f6ade","e6121cb2079cbef49f8cabb771b096d4",{"version":"d1c185eb12a20a964edbc2c775b814f9","affectsGlobalScope":true,"impliedNodeFormat":1},"457028a15a800a0101897207083230b4","cc41693ad3e7b61f34fa2d31e30dbc50","b8e788852f3cd20f765e510e73bb9200","0ce22dd42410b3f304b0f25e5209b136",{"version":"55c7d4301a1b8831ae2dd4db52884ddb","signature":"c71a52cd7a11bebd076a13bdd151eef1","impliedNodeFormat":1},{"version":"210f531e9db83cc9814327038c68c565","signature":"a2f48913b6b0ce598592e8a3cc6ec327","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6907274c235c806dbbdd5acd7c0a5094","signature":"068fe66ca212cb4032fa773d3017ce1c","impliedNodeFormat":1},{"version":"12ed0905db473972803f72200c983fa8","signature":"3c5148301db2be45392202e1e41e66c3","impliedNodeFormat":1},{"version":"ef0593995bfc3d4d9a6b2cf495b36404","signature":"4ee5067285a1049cd1cdc6371cbc1c57","impliedNodeFormat":1},{"version":"13efd8fda840cd642c852940dbd94105","signature":"37b329bbe218ac69e0086acbea2f9e2f","impliedNodeFormat":1},{"version":"2caac142ca8821ba6bef29bc89897828","signature":"a131aa9968d7378dca3f8e84dea626db","impliedNodeFormat":1},{"version":"167ca7f8735988347dca29b722b5f39a","signature":"365296a5484c2d4681bf2cff3aa6cbb3","impliedNodeFormat":1},{"version":"c33545d2510f240120d90e89711e3290","signature":"284d09781436f5456079ccf8f12355c3","impliedNodeFormat":1},{"version":"bd8da0b965b44e7052b442f77d83cf9d","signature":"374da215c64c1129a5ba0f22a7d3a002","impliedNodeFormat":1},{"version":"5bedbae4cabd4e3b6c8e981e1279cfa7","signature":"34d1d3b0aa0cf4b03df413359da00880","impliedNodeFormat":1},"0c16c5c8945b669a2f394c521168f0a6","c0688009894a734236f474af9a6a4a44","55e8c9f61285b02cb2f1fa8caad4e903","2f3e243d1a65b1cfc603a1b4b2aaddf5","cc0127c0ef1eacaeba0c3a10bd4822b0","b3dd56db02a04535796c784d405a2fa5","5dc876ab5501402f445d966acb7150a1","0dfd2926c02532d4c971abc3b09ca099","bf1f0b8bf04ebc0c3363571439b431cd","04e24265382a2ad28abec81de53a2a79","a5b0fe2c360fb9b73b8e4d918f0dc3e5","539e7bfdc5109c6e6c6e03ac71435a6f","62e248d144b53eff0d45d95f427bbe7e","4f0729689a0e8a33fbb38b4f2c24ee2b","82e30764088aebadc1981d8ec29925dd",{"version":"458ff060e80380db683415b9386e4f86","signature":"16d61563ec9c66121adab8b78a3c385c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"27f184c542395ff07f1acd2937abae2a","signature":"f0c394972d8721da6499f2e24a565e62","impliedNodeFormat":1}],"fileIdsList":[[124,126,127,128,129,130],[121,125],[121,126],[126],[121],[121,122],[123,131],[132,133,134],[133],[132],[71,72,80,85,92,95],[69,77,93,94],[69,70,93,109],[69,72],[69],[69,74],[69,71,75,76,78,79,93],[69,71,72,73,75,78,93],[69,93],[69,71,77,93],[69,79],[69,93,94],[72,86],[69,86,87,93],[70,79,80,93,96,97,98,99,100,101,102,103,104,105,106],[70,71,73,74,75,76,77,78,79,80,85,86,88,90,92,93,94,95,96,106,107,108],[69,72,73,93],[69,72,93],[69,86,93],[69,71,73,74,75,78,79,80,81,82,83,84,85,86,89,90,91,92,94,95,96,107,109],[72,73,75,79,86],[79],[69,75,77,85,88,89],[96],[72,93],[77],[64,117],[67],[65,117],[117],[109,111],[111,112,114,115],[69,109,110,113,114,118],[109,112],[66,116,135],[64,65,66],[116]],"options":{"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"module":99,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":10,"tsBuildInfoFile":"./.tsbuildinfo","esModuleInterop":true},"referencedMap":[[131,1],[126,2],[130,3],[127,4],[122,5],[129,5],[123,6],[132,7],[135,8],[134,9],[133,10],[96,11],[92,12],[71,13],[73,14],[74,15],[106,16],[77,17],[79,18],[85,19],[86,14],[78,20],[76,21],[80,19],[95,22],[87,23],[88,24],[89,15],[75,16],[107,25],[109,26],[83,27],[84,28],[82,28],[94,29],[93,30],[91,31],[97,32],[90,33],[105,34],[104,35],[103,36],[118,37],[68,38],[119,39],[120,40],[114,41],[116,42],[112,41],[115,43],[113,44],[136,45],[67,46],[137,40],[117,47]],"latestChangedDtsFile":"./types/utils/index.d.ts"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../../ajax-api-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../../ajax-api-TzqQuV55.js";
|
|
2
2
|
export { c as addToCart, i as changeCart, o as clearCart, n as getCart, e as getPredictiveSearch, a as getProduct, s as getProductRecommendations, t as getShippingRates, r as updateCart };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e, b as t, f as n, g as r, h as i, m as a, p as o, v as s, y as c } from "../../../ajax-api-
|
|
1
|
+
import { _ as e, b as t, f as n, g as r, h as i, m as a, p as o, v as s, y as c } from "../../../ajax-api-TzqQuV55.js";
|
|
2
2
|
export { a as getPickedConfig, i as getPickedConfigCollection, r as getPickedConfigCustomer, e as getPickedConfigExperiments, s as getPickedConfigFeatureExperiments, c as getPickedConfigProduct, t as getPickedConfigStorefrontApiToken, o as getShopify, n as shopifyPlugin };
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as e, u as t } from "../../ajax-api-
|
|
1
|
+
import { d as e, u as t } from "../../ajax-api-TzqQuV55.js";
|
|
2
2
|
export { t as getRequest, e as postRequest };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ShopifyAjaxApiCart, ShopifyAjaxApiProduct, ShopifyAjaxApiShippingRate, ShopifyAjaxApiProductRecommendations, ShopifyAjaxApiPredictiveSearchResult } from './types';
|
|
1
|
+
import type { ShopifyAjaxApiCart, ShopifyAjaxApiProduct, ShopifyAjaxApiShippingRate, ShopifyAjaxApiProductRecommendations, ShopifyAjaxApiPredictiveSearchResult } from './types';
|
|
2
2
|
export declare function getProduct<T = ShopifyAjaxApiProduct>(handle: string): Promise<T>;
|
|
3
3
|
export declare function getProductRecommendations(productId: string, limit: number, intent: 'related' | 'complementary'): Promise<ShopifyAjaxApiProductRecommendations>;
|
|
4
4
|
export declare function getPredictiveSearch(query: string): Promise<ShopifyAjaxApiPredictiveSearchResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ShopifyJsonApiCollection, ShopifyJsonApiCollectionProduct } from './types';
|
|
1
|
+
import type { ShopifyJsonApiCollection, ShopifyJsonApiCollectionProduct } from './types';
|
|
2
2
|
export declare function getCollection(handle: string): Promise<{
|
|
3
3
|
collection: ShopifyJsonApiCollection;
|
|
4
4
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EventPayload } from './types';
|
|
2
|
-
export declare function getShopify(): import(
|
|
1
|
+
import type { EventPayload } from './types';
|
|
2
|
+
export declare function getShopify(): import("./types").Shopify;
|
|
3
3
|
export declare function supportsShopifyAnalytics(w: Window): w is Window & {
|
|
4
4
|
Shopify: {
|
|
5
5
|
analytics: {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @file Readers for the Shopify-injected `window.pickedConfig`, including the
|
|
3
|
+
* experiment-to-feature transform consumed by the Picked client.
|
|
4
|
+
*/
|
|
5
|
+
import type { CreateClientOptions } from '@picked/client';
|
|
6
|
+
import type { MetafieldObject, PickedConfigExperiment, ShopifyPickedConfig } from './types';
|
|
3
7
|
export declare function getPickedConfig<ProductMetafields = MetafieldObject>(): Readonly<Partial<CreateClientOptions> & ShopifyPickedConfig<Partial<{
|
|
4
8
|
available: boolean;
|
|
5
9
|
collections: Partial<{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @file Shopify plugin — publishes Picked session and feature data to Shopify's analytics.web-pixels API. */
|
|
2
|
+
import type { Plugin } from '@picked/client';
|
|
2
3
|
/**
|
|
3
4
|
* Shopify integration plugin — publishes session metadata and feature buckets to Shopify's
|
|
4
5
|
* analytics.web-pixels API and updates cart attributes via the AJAX cart API.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StateSnapshot } from '@picked/client';
|
|
2
|
-
export declare const evaluatePathname: (regexPattern: RegExp, location?: StateSnapshot[
|
|
1
|
+
import type { StateSnapshot } from '@picked/client';
|
|
2
|
+
export declare const evaluatePathname: (regexPattern: RegExp, location?: StateSnapshot['location']) => boolean;
|
|
3
3
|
/**
|
|
4
4
|
* Evaluate handle from path using regex pattern
|
|
5
5
|
*
|
|
@@ -7,14 +7,14 @@ export declare const evaluatePathname: (regexPattern: RegExp, location?: StateSn
|
|
|
7
7
|
* @param location Location object containing pathname
|
|
8
8
|
* @returns handle string or undefined
|
|
9
9
|
*/
|
|
10
|
-
export declare const evaluateHandleByPath: (regexPattern: RegExp, location?: StateSnapshot[
|
|
10
|
+
export declare const evaluateHandleByPath: (regexPattern: RegExp, location?: StateSnapshot['location']) => string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Evaluate handle from pickedConfig based on type
|
|
13
13
|
*
|
|
14
14
|
* @param type page type: 'product' | 'collection'
|
|
15
15
|
* @returns handle string or undefined
|
|
16
16
|
*/
|
|
17
|
-
export declare const evaluateHandleByType: (type:
|
|
17
|
+
export declare const evaluateHandleByType: (type: 'product' | 'collection') => string | false;
|
|
18
18
|
interface PredicateArgs {
|
|
19
19
|
location?: StateSnapshot['location'];
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../../src/plugins/shopify/predicates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAmBnD,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../../src/plugins/shopify/predicates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAmBnD,eAAO,MAAM,gBAAgB,iBACb,MAAM,aACT,aAAa,CAAC,UAAU,CAAC,KACnC,OAMF,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,iBACjB,MAAM,aACT,aAAa,CAAC,UAAU,CAAC,uBAQrC,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,SAAU,SAAS,GAAG,YAAY,mBASlE,CAAA;AAED,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAA;CACrC;AAED,eAAO,MAAM,iBAAiB;IAE5B,SAAS,iBAAiB,aAAa;IACvC,iBAAiB,iBAAiB,aAAa;IAE/C,iBAAiB;IACjB,oBAAoB;IAEpB,oBAAoB;IACpB,uBAAuB;IAEvB,cAAc,iBAAiB,aAAa;IAC5C,iBAAiB,iBAAiB,aAAa;IAE/C,iBAAiB,iBAAiB,aAAa;IAC/C,oBAAoB,iBAAiB,aAAa;IAGlD,mBAAmB,iBAAiB,aAAa;IACjD,sBAAsB,iBAAiB,aAAa;IAGpD,iBAAiB,iBAAiB,aAAa;IAE/C,eAAe,iBAAiB,aAAa;IAC7C,kBAAkB,iBAAiB,aAAa;IAGhD,cAAc,iBAAiB,aAAa;IAE5C,kBAAkB,iBAAiB,aAAa;IAEhD,aAAa,iBAAiB,aAAa;CAC5C,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createStorefrontApiClient as _createStorefrontApiClient } from '@shopify/storefront-api-client';
|
|
2
|
-
import { ShopifyStorefrontApiClient, ShopifyStorefrontApiCartDiscountCodesUpdateResponse } from './types';
|
|
2
|
+
import type { ShopifyStorefrontApiClient, ShopifyStorefrontApiCartDiscountCodesUpdateResponse } from './types';
|
|
3
3
|
declare global {
|
|
4
4
|
const client: ShopifyStorefrontApiClient | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare function createStorefrontApiClient(options: Pick<Parameters<typeof _createStorefrontApiClient>[0], 'apiVersion'>): import(
|
|
6
|
+
export declare function createStorefrontApiClient(options: Pick<Parameters<typeof _createStorefrontApiClient>[0], 'apiVersion'>): import("@shopify/storefront-api-client").StorefrontApiClient;
|
|
7
7
|
export declare const getStorefrontApiClient: () => ShopifyStorefrontApiClient;
|
|
8
8
|
export declare function cartDiscountCodesUpdate(token: string, discountCodes: string[]): Promise<ShopifyStorefrontApiCartDiscountCodesUpdateResponse>;
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../src/utils/debounce.ts"],"names":[],"mappings":"AACA,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../src/utils/debounce.ts"],"names":[],"mappings":"AACA,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,aAG/D,UAAU,CAAC,CAAC,CAAC,KAAG,IAAI,CAStC;AAGD,wBAAgB,aAAa,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,aAInE,UAAU,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAsBxD"}
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@picked/shopify",
|
|
3
3
|
"description": "Shopify plugin for @picked/client",
|
|
4
|
-
"version": "0.0.1-dev.
|
|
4
|
+
"version": "0.0.1-dev.1785826066660",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@picked/client": "workspace:*",
|
|
7
7
|
"@repo/eslint-config": "workspace:*",
|
|
8
8
|
"@repo/typescript-config": "workspace:*",
|
|
9
|
-
"@rollup/plugin-replace": "^6.0.
|
|
10
|
-
"@shopify/storefront-api-client": "^1.0.
|
|
11
|
-
"@size-limit/preset-small-lib": "^12.
|
|
9
|
+
"@rollup/plugin-replace": "^6.0.3",
|
|
10
|
+
"@shopify/storefront-api-client": "^1.0.10",
|
|
11
|
+
"@size-limit/preset-small-lib": "^12.1.0",
|
|
12
12
|
"@types/jsdom": "^21.1.7",
|
|
13
13
|
"@types/node": "^22",
|
|
14
|
-
"@vitest/coverage-v8": "^4.1.
|
|
15
|
-
"effector": "^23.
|
|
16
|
-
"size-limit": "^12.
|
|
17
|
-
"tsup": "^8.5.
|
|
18
|
-
"tsx": "^4.
|
|
19
|
-
"vite": "^8.0
|
|
20
|
-
"
|
|
21
|
-
"vitest": "^4.1.8"
|
|
14
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
15
|
+
"effector": "^23.4.4",
|
|
16
|
+
"size-limit": "^12.1.0",
|
|
17
|
+
"tsup": "^8.5.1",
|
|
18
|
+
"tsx": "^4.23.1",
|
|
19
|
+
"vite": "^8.2.0",
|
|
20
|
+
"vitest": "^4.1.10"
|
|
22
21
|
},
|
|
23
22
|
"exports": {
|
|
24
23
|
".": {
|
|
@@ -69,30 +68,30 @@
|
|
|
69
68
|
],
|
|
70
69
|
"knip": {
|
|
71
70
|
"ignoreBinaries": [
|
|
72
|
-
"knip",
|
|
73
|
-
"jscpd",
|
|
74
71
|
"eslint",
|
|
72
|
+
"jscpd",
|
|
73
|
+
"knip",
|
|
75
74
|
"tsgo"
|
|
76
75
|
]
|
|
77
76
|
},
|
|
78
77
|
"main": "./dist/cjs/index.js",
|
|
79
78
|
"module": "./dist/esm/index.js",
|
|
80
79
|
"peerDependencies": {
|
|
81
|
-
"@picked/client": "0.0.1-dev.
|
|
82
|
-
"@shopify/storefront-api-client": "^1.0.
|
|
83
|
-
"effector": "^23.
|
|
80
|
+
"@picked/client": "0.0.1-dev.1785826066660",
|
|
81
|
+
"@shopify/storefront-api-client": "^1.0.10",
|
|
82
|
+
"effector": "^23.4.4"
|
|
84
83
|
},
|
|
85
84
|
"private": false,
|
|
86
85
|
"scripts": {
|
|
87
|
-
"build": "vite build",
|
|
86
|
+
"build": "vite build && tsgo -p tsconfig.build.json",
|
|
88
87
|
"check": "pnpm type-check && pnpm lint && pnpm knip && pnpm jscpd",
|
|
89
|
-
"dev": "
|
|
88
|
+
"dev": "node ../../scripts/sdk-watch-build.mjs",
|
|
90
89
|
"jscpd": "jscpd src",
|
|
91
90
|
"knip": "knip",
|
|
92
|
-
"lint": "if [ \"$AGENT\" = \"true\" ]; then echo \"[AGENT HINT] Prefer running lint on specific files from the repo root: node scripts/lint-files.js <files>\"; fi && eslint .",
|
|
91
|
+
"lint": "if [ \"$AGENT\" = \"true\" ]; then echo \"[AGENT HINT] Prefer running lint on specific files from the repo root: node scripts/lint-files.js <files>\"; fi && eslint . --cache --cache-location node_modules/.cache/eslint",
|
|
93
92
|
"lint-files": "eslint",
|
|
94
93
|
"lint:format": "eslint . --fix",
|
|
95
|
-
"lint:report": "eslint . -o './.reports/eslint.json' -f json || true",
|
|
94
|
+
"lint:report": "eslint . --cache --cache-location node_modules/.cache/eslint -o './.reports/eslint.json' -f json || true",
|
|
96
95
|
"size": "size-limit",
|
|
97
96
|
"test": "vitest run",
|
|
98
97
|
"test:coverage": "../../scripts/vitest-coverage.sh",
|