@rork-ai/toolkit-sdk 0.2.35 → 0.2.36
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.
|
@@ -8,7 +8,7 @@ const path = require("path");
|
|
|
8
8
|
* and redirects expo-haptics to web polyfill on web platform
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
const libPath = path.resolve(__dirname, "
|
|
11
|
+
const libPath = path.resolve(__dirname, "../../lib/module/");
|
|
12
12
|
function withRorkMetro(config) {
|
|
13
13
|
const originalResolveRequest = config.resolver?.resolveRequest;
|
|
14
14
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["path","require","libPath","resolve","__dirname","withRorkMetro","config","originalResolveRequest","resolver","resolveRequest","transformer","babelTransformerPath","context","moduleName","platform","filePath","type","module","exports"],"sourceRoot":"../../../src","sources":["metro/index.js"],"mappings":";;AAAA,MAAMA,IAAI,GAAGC,OAAO,CAAC,MAAM,CAAC;;AAE5B;AACA;AACA;AACA;AACA;;AAEA,MAAMC,OAAO,GAAGF,IAAI,CAACG,OAAO,CAACC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"names":["path","require","libPath","resolve","__dirname","withRorkMetro","config","originalResolveRequest","resolver","resolveRequest","transformer","babelTransformerPath","context","moduleName","platform","filePath","type","module","exports"],"sourceRoot":"../../../src","sources":["metro/index.js"],"mappings":";;AAAA,MAAMA,IAAI,GAAGC,OAAO,CAAC,MAAM,CAAC;;AAE5B;AACA;AACA;AACA;AACA;;AAEA,MAAMC,OAAO,GAAGF,IAAI,CAACG,OAAO,CAACC,SAAS,EAAE,mBAAmB,CAAC;AAE5D,SAASC,aAAaA,CAACC,MAAM,EAAE;EAC7B,MAAMC,sBAAsB,GAAGD,MAAM,CAACE,QAAQ,EAAEC,cAAc;EAE9D,OAAO;IACL,GAAGH,MAAM;IACTI,WAAW,EAAE;MACX,GAAGJ,MAAM,CAACI,WAAW;MACrBC,oBAAoB,EAAEV,OAAO,CAACE,OAAO,CACnC,wCACF;IACF,CAAC;IACDK,QAAQ,EAAE;MACR,GAAGF,MAAM,CAACE,QAAQ;MAClBC,cAAc,EAAEA,CAACG,OAAO,EAAEC,UAAU,EAAEC,QAAQ,KAAK;QACjD;QACA,IAAID,UAAU,KAAK,cAAc,IAAIC,QAAQ,KAAK,KAAK,EAAE;UACvD,OAAO;YACLC,QAAQ,EAAEf,IAAI,CAACG,OAAO,CAACD,OAAO,EAAE,0BAA0B,CAAC;YAC3Dc,IAAI,EAAE;UACR,CAAC;QACH;;QAEA;QACA,IAAIT,sBAAsB,EAAE;UAC1B,OAAOA,sBAAsB,CAACK,OAAO,EAAEC,UAAU,EAAEC,QAAQ,CAAC;QAC9D;;QAEA;QACA,OAAOF,OAAO,CAACH,cAAc,CAACG,OAAO,EAAEC,UAAU,EAAEC,QAAQ,CAAC;MAC9D;IACF;EACF,CAAC;AACH;AAEAG,MAAM,CAACC,OAAO,GAAG;EAAEb;AAAc,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
package/src/metro/index.js
CHANGED
|
@@ -6,7 +6,7 @@ const path = require("path");
|
|
|
6
6
|
* and redirects expo-haptics to web polyfill on web platform
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const libPath = path.resolve(__dirname, "
|
|
9
|
+
const libPath = path.resolve(__dirname, "../../lib/module/");
|
|
10
10
|
|
|
11
11
|
function withRorkMetro(config) {
|
|
12
12
|
const originalResolveRequest = config.resolver?.resolveRequest;
|