@amazon-devices/react-native-gesture-handler 2.0.9000000000 → 2.0.9000000002
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/SystemBundles/{e952783824abd1e014b5dbeb51072f473be8d0e06e0377bbc053b54e619e5f4f.bundle → f7db1c3cfd094f9cb12a853d5404c51a3819cf4d4ebf07a91f0723b3bfa631d8.bundle} +735 -1007
- package/SystemBundles/{e952783824abd1e014b5dbeb51072f473be8d0e06e0377bbc053b54e619e5f4f.map → f7db1c3cfd094f9cb12a853d5404c51a3819cf4d4ebf07a91f0723b3bfa631d8.map} +128 -295
- package/SystemModules/amzn__react-native-gesture-handler-2.private.modules.txt +35 -37
- package/kepler-compatibility.json +4 -2
- package/lib/commonjs/RNGestureHandlerModule.kepler.js +2 -2
- package/lib/commonjs/RNGestureHandlerModule.kepler.js.map +1 -1
- package/lib/module/RNGestureHandlerModule.kepler.js +2 -2
- package/lib/module/RNGestureHandlerModule.kepler.js.map +1 -1
- package/package.json +1 -1
- package/src/RNGestureHandlerModule.kepler.ts +2 -2
|
@@ -1,48 +1,46 @@
|
|
|
1
|
-
node_modules/@
|
|
2
|
-
node_modules/@
|
|
3
|
-
node_modules/@babel/runtime_7.
|
|
4
|
-
node_modules/@babel/runtime_7.
|
|
5
|
-
node_modules/@babel/runtime_7.
|
|
6
|
-
node_modules/@babel/runtime_7.
|
|
7
|
-
node_modules/@babel/runtime_7.
|
|
8
|
-
node_modules/@babel/runtime_7.
|
|
9
|
-
node_modules/@babel/runtime_7.
|
|
10
|
-
node_modules/@babel/runtime_7.
|
|
11
|
-
node_modules/@babel/runtime_7.
|
|
12
|
-
node_modules/@babel/runtime_7.
|
|
13
|
-
node_modules/@babel/runtime_7.28.4/helpers/toPrimitive.js:ad82d340d0b5dc5f0801
|
|
14
|
-
node_modules/@babel/runtime_7.28.4/helpers/typeof.js:e08c69ed06cf526909e3
|
|
1
|
+
node_modules/@babel/runtime_7.29.2/helpers/interopRequireDefault.js:d3b57c8ff490ba8c7c47
|
|
2
|
+
node_modules/@babel/runtime_7.29.2/helpers/toConsumableArray.js:27d0a985292f85890094
|
|
3
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayWithoutHoles.js:f68a2b1e2787457746ed
|
|
4
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayLikeToArray.js:93f664c5afc3b3c0ffb9
|
|
5
|
+
node_modules/@babel/runtime_7.29.2/helpers/iterableToArray.js:a557e0618dee554f2e2b
|
|
6
|
+
node_modules/@babel/runtime_7.29.2/helpers/unsupportedIterableToArray.js:0c30490eff100ca51d7c
|
|
7
|
+
node_modules/@babel/runtime_7.29.2/helpers/nonIterableSpread.js:b3f48bee2c320d36016c
|
|
8
|
+
node_modules/@babel/runtime_7.29.2/helpers/classCallCheck.js:2bfb5e99807ec81b822f
|
|
9
|
+
node_modules/@babel/runtime_7.29.2/helpers/createClass.js:cc42269051bc9ff17a63
|
|
10
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPropertyKey.js:7519d1b9ea0de500d604
|
|
11
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPrimitive.js:6c47e04d255cdfb1533c
|
|
12
|
+
node_modules/@babel/runtime_7.29.2/helpers/typeof.js:7b6247ce00695d888c36
|
|
15
13
|
node_modules/invariant_2.2.4/browser.js:fd099686726b2dfb6f66
|
|
16
|
-
node_modules/@babel/runtime_7.
|
|
17
|
-
node_modules/@babel/runtime_7.
|
|
18
|
-
node_modules/@babel/runtime_7.
|
|
19
|
-
node_modules/@babel/runtime_7.
|
|
14
|
+
node_modules/@babel/runtime_7.29.2/helpers/slicedToArray.js:8972a767e9133b0e3a28
|
|
15
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayWithHoles.js:ee99881fa9643e7bd96f
|
|
16
|
+
node_modules/@babel/runtime_7.29.2/helpers/iterableToArrayLimit.js:1847ec9d510321afd855
|
|
17
|
+
node_modules/@babel/runtime_7.29.2/helpers/nonIterableRest.js:9ef80b625777ecb8d705
|
|
20
18
|
node_modules/nullthrows_1.1.1/nullthrows.js:afd4874b36ccd4e13961
|
|
21
|
-
node_modules/@babel/runtime_7.
|
|
22
|
-
node_modules/@babel/runtime_7.
|
|
23
|
-
node_modules/@babel/runtime_7.
|
|
24
|
-
node_modules/@babel/runtime_7.
|
|
25
|
-
node_modules/@babel/runtime_7.
|
|
26
|
-
node_modules/@babel/runtime_7.
|
|
27
|
-
node_modules/@babel/runtime_7.
|
|
28
|
-
node_modules/@babel/runtime_7.
|
|
29
|
-
node_modules/@babel/runtime_7.
|
|
30
|
-
node_modules/@babel/runtime_7.
|
|
19
|
+
node_modules/@babel/runtime_7.29.2/helpers/possibleConstructorReturn.js:80a4a0ee188e065108c9
|
|
20
|
+
node_modules/@babel/runtime_7.29.2/helpers/assertThisInitialized.js:7a9699b26019ae7270f5
|
|
21
|
+
node_modules/@babel/runtime_7.29.2/helpers/getPrototypeOf.js:9c829ff5032996ffdc8e
|
|
22
|
+
node_modules/@babel/runtime_7.29.2/helpers/inherits.js:3ebfecb28bc5857801a2
|
|
23
|
+
node_modules/@babel/runtime_7.29.2/helpers/setPrototypeOf.js:ea37d1dec222e5845b2b
|
|
24
|
+
node_modules/@babel/runtime_7.29.2/helpers/readOnlyError.js:b769be1a7481ccdab905
|
|
25
|
+
node_modules/@babel/runtime_7.29.2/helpers/wrapNativeSuper.js:b510ad86a9e18c7a79b6
|
|
26
|
+
node_modules/@babel/runtime_7.29.2/helpers/isNativeFunction.js:74c2adc9de6e582a35f1
|
|
27
|
+
node_modules/@babel/runtime_7.29.2/helpers/construct.js:d66ad0c399283f558869
|
|
28
|
+
node_modules/@babel/runtime_7.29.2/helpers/isNativeReflectConstruct.js:22840e4117f5dbcb3b06
|
|
31
29
|
node_modules/stacktrace-parser_0.1.11/dist/stack-trace-parser.cjs.js:aa725aa4c0b37e1add33
|
|
32
30
|
node_modules/promise_8.3.0/setimmediate/finally.js:15bc4ccb25fc2d0c4428
|
|
33
31
|
node_modules/promise_8.3.0/setimmediate/core.js:890f60fa94d3f6854a19
|
|
34
32
|
node_modules/promise_8.3.0/setimmediate/es6-extensions.js:a7846fdeffeb1ebf6241
|
|
35
33
|
node_modules/regenerator-runtime_0.13.11/runtime.js:af823d9710c534173a4d
|
|
36
|
-
node_modules/@babel/runtime_7.
|
|
37
|
-
node_modules/@babel/runtime_7.
|
|
34
|
+
node_modules/@babel/runtime_7.29.2/helpers/get.js:659b028086c2c6f074a3
|
|
35
|
+
node_modules/@babel/runtime_7.29.2/helpers/superPropBase.js:263943b885b53437e9e0
|
|
38
36
|
node_modules/event-target-shim_5.0.1/dist/event-target-shim.js:2bd3f165b1ed6b916de7
|
|
39
37
|
node_modules/base64-js_1.5.1/index.js:71af70f51435e3e1b37b
|
|
40
38
|
node_modules/whatwg-fetch_3.6.20/dist/fetch.umd.js:ca4b0363146267ef3e77
|
|
41
|
-
node_modules/@babel/runtime_7.
|
|
42
|
-
node_modules/@babel/runtime_7.
|
|
39
|
+
node_modules/@babel/runtime_7.29.2/helpers/objectWithoutProperties.js:54be67f13f7547a51521
|
|
40
|
+
node_modules/@babel/runtime_7.29.2/helpers/objectWithoutPropertiesLoose.js:ae112a2672a8a53f82e5
|
|
43
41
|
node_modules/abort-controller_3.0.0/dist/abort-controller.js:ea8fcbd647aab1cfcdaa
|
|
44
42
|
node_modules/@react-native/normalize-colors_0.72.0/index.js:bab9017c6ff43bb4a95b
|
|
45
|
-
node_modules/@babel/runtime_7.
|
|
43
|
+
node_modules/@babel/runtime_7.29.2/helpers/defineProperty.js:fa7f6cfc43876c5055b6
|
|
46
44
|
node_modules/@react-native/assets-registry_0.72.0/registry.js:05d58bec2a6d939f08d8
|
|
47
45
|
node_modules/@react-native/assets-registry_0.72.0/path-support.js:914260cfb55fe13c431c
|
|
48
46
|
node_modules/scheduler_0.24.0-canary-efb381bbf-20230505/index.native.js:d57407eff7026d491c8a
|
|
@@ -83,13 +81,13 @@ node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListCellRen
|
|
|
83
81
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListContext.js:e6b1ef1f5b720d640981
|
|
84
82
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/CellRenderMask.js:de5ab026f9499640d730
|
|
85
83
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedSectionList.js:d2355175ff6609a3def1
|
|
86
|
-
node_modules/@babel/runtime_7.
|
|
84
|
+
node_modules/@babel/runtime_7.29.2/helpers/asyncToGenerator.js:37d2d0df8e62891cc30d
|
|
87
85
|
node_modules/use-sync-external-store_1.6.0/shim/index.native.js:962cceb83a0665e556b0
|
|
88
86
|
node_modules/use-sync-external-store_1.6.0/cjs/use-sync-external-store-shim.native.production.js:882f173eeacafe179433
|
|
89
|
-
node_modules/@babel/runtime_7.
|
|
90
|
-
node_modules/@babel/runtime_7.
|
|
87
|
+
node_modules/@babel/runtime_7.29.2/helpers/classPrivateFieldLooseKey.js:3998b40f87a7681fa397
|
|
88
|
+
node_modules/@babel/runtime_7.29.2/helpers/classPrivateFieldLooseBase.js:8e4a72d63eec1bceb909
|
|
91
89
|
node_modules/@egjs/hammerjs_2.0.17/dist/hammer.js:76951f659320487f04e3
|
|
92
|
-
node_modules/lodash_4.17.
|
|
90
|
+
node_modules/lodash_4.17.23/lodash.js:5eb4ec4fa0f1f4076844
|
|
93
91
|
node_modules/hoist-non-react-statics_3.3.2/dist/hoist-non-react-statics.cjs.js:7458da686fa6b2cad882
|
|
94
92
|
node_modules/react-is_16.13.1/index.js:4ca711edf8a94602feee
|
|
95
93
|
node_modules/react-is_16.13.1/cjs/react-is.production.min.js:e182cded7e266b7ca366
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"versions": {
|
|
3
3
|
"2.0.0": "/com.amazon.kepler.gesture_handler_2@IGestureHandler_0",
|
|
4
|
-
"2.0.9000000000": "/com.amazon.kepler.gesture_handler_2@IGestureHandler_0"
|
|
4
|
+
"2.0.9000000000": "/com.amazon.kepler.gesture_handler_2@IGestureHandler_0",
|
|
5
|
+
"2.0.9000000001": "/com.amazon.kepler.gesture_handler_2@IGestureHandler_0",
|
|
6
|
+
"2.0.9000000002": "/com.amazon.kepler.gesture_handler_2@IGestureHandler_0"
|
|
5
7
|
}
|
|
6
|
-
}
|
|
8
|
+
}
|
|
@@ -13,8 +13,8 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
13
13
|
try {
|
|
14
14
|
// at this point we need Reanimated to be initialized so that `global._WORKLET_RUNTIME` contains a pointer to the UI runtime
|
|
15
15
|
require('@amazon-devices/react-native-reanimated/src/reanimated2/NativeReanimated');
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
16
|
+
} catch (error) {
|
|
17
|
+
console.error('Reanimated integration failure', error);
|
|
18
18
|
}
|
|
19
19
|
const NativeModule = TurboModuleRegistry.getEnforcing('RNGestureHandlerModule');
|
|
20
20
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","_interopRequireWildcard","require","_reactNative","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","_interopRequireWildcard","require","_reactNative","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","error","console","NativeModule","getEnforcing","global","notifyMultipleUsageError","handlerTag","Alert","alert","_WORKLET_RUNTIME","installOnUIRuntime","install","_default","exports"],"sources":["RNGestureHandlerModule.kepler.ts"],"sourcesContent":["import type { KeplerTurboModule } from '@amazon-devices/react-native-kepler/Libraries/TurboModule/KeplerTurboModule';\n// @ts-ignore No type definitions for TurboModuleRegistry\nimport * as TurboModuleRegistry from '@amazon-devices/react-native-kepler/Libraries/TurboModule/TurboModuleRegistry';\nimport { ActionType } from './ActionType';\nimport { Alert } from 'react-native';\n\ninterface Spec extends KeplerTurboModule {\n readonly installOnUIRuntime: (\n uiRuntimePointer: ArrayBuffer | undefined\n ) => void;\n readonly install: () => void;\n readonly handleSetJSResponder: (\n tag: number,\n blockNativeResponder: boolean\n ) => void;\n readonly handleClearJSResponder: () => void;\n readonly createGestureHandler: (\n handlerName: string,\n handlerTag: number,\n config: Readonly<Record<string, unknown>>\n ) => void;\n readonly attachGestureHandler: (\n handlerTag: number,\n viewTag: number,\n actionType: ActionType\n ) => void;\n readonly updateGestureHandler: (\n handlerTag: number,\n config: Readonly<Record<string, unknown>>\n ) => void;\n readonly dropGestureHandler: (handlerTag: number) => void;\n readonly flushOperations: () => void;\n readonly addListener: () => void;\n readonly removeListeners: () => void;\n}\n\ntry {\n // at this point we need Reanimated to be initialized so that `global._WORKLET_RUNTIME` contains a pointer to the UI runtime\n require('@amazon-devices/react-native-reanimated/src/reanimated2/NativeReanimated');\n} catch (error: any) {\n console.error('Reanimated integration failure', error);\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing<Spec>(\n 'RNGestureHandlerModule'\n) as Spec;\n\n// @ts-ignore\nglobal.notifyMultipleUsageError = (handlerTag: number) => {\n Alert.alert(\n 'Exception thrown while executing UI block',\n `Handler with tag ${handlerTag} already exists. Please ensure that no Gesture instance is used across multiple GestureDetectors.`\n );\n};\n\n// @ts-expect-error `_WORKLET_RUNTIME` is injected into global scope by Reanimated, if Reanimated is not installed, it will not exist\nif (global._WORKLET_RUNTIME) {\n // @ts-expect-error same as above\n NativeModule.installOnUIRuntime(global._WORKLET_RUNTIME);\n}\n\nNativeModule.install();\n\nexport default NativeModule;\n"],"mappings":";;;;;;AAEA,IAAAA,mBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAAqC,SAAAE,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAHrC;;AAmCA,IAAI;EACF;EACAX,OAAO,CAAC,gEAAgE,CAAC;AAC3E,CAAC,CAAC,OAAOsB,KAAU,EAAE;EACnBC,OAAO,CAACD,KAAK,CAAC,gCAAgC,EAAEA,KAAK,CAAC;AACxD;AAEA,MAAME,YAAY,GAAG1B,mBAAmB,CAAC2B,YAAY,CACnD,wBACF,CAAS;;AAET;AACAC,MAAM,CAACC,wBAAwB,GAAIC,UAAkB,IAAK;EACxDC,kBAAK,CAACC,KAAK,CACT,2CAA2C,EAC3C,oBAAoBF,UAAU,mGAChC,CAAC;AACH,CAAC;;AAED;AACA,IAAIF,MAAM,CAACK,gBAAgB,EAAE;EAC3B;EACAP,YAAY,CAACQ,kBAAkB,CAACN,MAAM,CAACK,gBAAgB,CAAC;AAC1D;AAEAP,YAAY,CAACS,OAAO,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA3B,OAAA,GAERgB,YAAY","ignoreList":[]}
|
|
@@ -4,8 +4,8 @@ import { Alert } from 'react-native';
|
|
|
4
4
|
try {
|
|
5
5
|
// at this point we need Reanimated to be initialized so that `global._WORKLET_RUNTIME` contains a pointer to the UI runtime
|
|
6
6
|
require('@amazon-devices/react-native-reanimated/src/reanimated2/NativeReanimated');
|
|
7
|
-
} catch (
|
|
8
|
-
|
|
7
|
+
} catch (error) {
|
|
8
|
+
console.error('Reanimated integration failure', error);
|
|
9
9
|
}
|
|
10
10
|
const NativeModule = TurboModuleRegistry.getEnforcing('RNGestureHandlerModule');
|
|
11
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","Alert","require","
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","Alert","require","error","console","NativeModule","getEnforcing","global","notifyMultipleUsageError","handlerTag","alert","_WORKLET_RUNTIME","installOnUIRuntime","install"],"sources":["RNGestureHandlerModule.kepler.ts"],"sourcesContent":["import type { KeplerTurboModule } from '@amazon-devices/react-native-kepler/Libraries/TurboModule/KeplerTurboModule';\n// @ts-ignore No type definitions for TurboModuleRegistry\nimport * as TurboModuleRegistry from '@amazon-devices/react-native-kepler/Libraries/TurboModule/TurboModuleRegistry';\nimport { ActionType } from './ActionType';\nimport { Alert } from 'react-native';\n\ninterface Spec extends KeplerTurboModule {\n readonly installOnUIRuntime: (\n uiRuntimePointer: ArrayBuffer | undefined\n ) => void;\n readonly install: () => void;\n readonly handleSetJSResponder: (\n tag: number,\n blockNativeResponder: boolean\n ) => void;\n readonly handleClearJSResponder: () => void;\n readonly createGestureHandler: (\n handlerName: string,\n handlerTag: number,\n config: Readonly<Record<string, unknown>>\n ) => void;\n readonly attachGestureHandler: (\n handlerTag: number,\n viewTag: number,\n actionType: ActionType\n ) => void;\n readonly updateGestureHandler: (\n handlerTag: number,\n config: Readonly<Record<string, unknown>>\n ) => void;\n readonly dropGestureHandler: (handlerTag: number) => void;\n readonly flushOperations: () => void;\n readonly addListener: () => void;\n readonly removeListeners: () => void;\n}\n\ntry {\n // at this point we need Reanimated to be initialized so that `global._WORKLET_RUNTIME` contains a pointer to the UI runtime\n require('@amazon-devices/react-native-reanimated/src/reanimated2/NativeReanimated');\n} catch (error: any) {\n console.error('Reanimated integration failure', error);\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing<Spec>(\n 'RNGestureHandlerModule'\n) as Spec;\n\n// @ts-ignore\nglobal.notifyMultipleUsageError = (handlerTag: number) => {\n Alert.alert(\n 'Exception thrown while executing UI block',\n `Handler with tag ${handlerTag} already exists. Please ensure that no Gesture instance is used across multiple GestureDetectors.`\n );\n};\n\n// @ts-expect-error `_WORKLET_RUNTIME` is injected into global scope by Reanimated, if Reanimated is not installed, it will not exist\nif (global._WORKLET_RUNTIME) {\n // @ts-expect-error same as above\n NativeModule.installOnUIRuntime(global._WORKLET_RUNTIME);\n}\n\nNativeModule.install();\n\nexport default NativeModule;\n"],"mappings":"AACA;AACA,OAAO,KAAKA,mBAAmB,MAAM,qEAAqE;AAE1G,SAASC,KAAK,QAAQ,cAAc;AAgCpC,IAAI;EACF;EACAC,OAAO,CAAC,gEAAgE,CAAC;AAC3E,CAAC,CAAC,OAAOC,KAAU,EAAE;EACnBC,OAAO,CAACD,KAAK,CAAC,gCAAgC,EAAEA,KAAK,CAAC;AACxD;AAEA,MAAME,YAAY,GAAGL,mBAAmB,CAACM,YAAY,CACnD,wBACF,CAAS;;AAET;AACAC,MAAM,CAACC,wBAAwB,GAAIC,UAAkB,IAAK;EACxDR,KAAK,CAACS,KAAK,CACT,2CAA2C,EAC3C,oBAAoBD,UAAU,mGAChC,CAAC;AACH,CAAC;;AAED;AACA,IAAIF,MAAM,CAACI,gBAAgB,EAAE;EAC3B;EACAN,YAAY,CAACO,kBAAkB,CAACL,MAAM,CAACI,gBAAgB,CAAC;AAC1D;AAEAN,YAAY,CAACQ,OAAO,CAAC,CAAC;AAEtB,eAAeR,YAAY","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@amazon-devices/react-native-gesture-handler", "version": "2.0.
|
|
1
|
+
{"name": "@amazon-devices/react-native-gesture-handler", "version": "2.0.9000000002+2.13.0", "description": "Experimental implementation of a new declarative API for gesture handling in react-native", "scripts": {"test": "jest", "tsc": "tsc -p tsconfig.build.json", "build": "$npm_execpath run tsc", "precommit": "lint-staged", "release": "npm login && release-it", "ts-check": "yarn tsc --noEmit", "format:js": "prettier --write --list-different './{src,example,FabricExample}/**/*.{js,jsx,ts,tsx}'", "format:android": "node ./scripts/format-android.js", "format:ios": "find ios/ -iname *.h -o -iname *.m -o -iname *.cpp -o -iname *.mm | xargs clang-format -i", "lint:js": "eslint --ext '.js,.ts,.tsx' src/ example/src FabricExample/src && yarn prettier --check './{src,example,FabricExample}/**/*.{js,jsx,ts,tsx}'", "lint:js-root": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check './src/**/*.{js,jsx,ts,tsx}'", "lint:android": "./android/gradlew -p android spotlessCheck -q", "build:release": "npm run prepare"}, "kepler": {"temporary-alias-for-package": {"name": "react-native-gesture-handler", "version": "2.13.0"}}, "keplerImport": true, "react-native": "src/index.ts", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/index.d.ts", "files": ["src", "lib", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "android/build.gradle", "android/gradle.properties", "android/src/main/AndroidManifest.xml", "android/src/main/java/", "android/src/main/jni/", "android/src/fabric/java", "android/src/paper/java", "android/common/src/main/java/", "android/reanimated/src/main/java/", "android/noreanimated/src/main/java/", "ios/", "Swipeable/", "jest-utils/", "DrawerLayout/", "README.md", "jestSetup.js", "RNGestureHandler.podspec", "kepler-compatibility.json", "SystemModules", "SystemBundles", "THIRD_PARTY_NOTICES.txt", "kepler-transformed-package-info.json"], "repository": {"type": "git", "url": "git+https://github.com/software-mansion/react-native-gesture-handler.git"}, "author": {"email": "krzys.magiera@gmail.com", "name": "Krzysztof Magiera"}, "license": "See license in LICENSE", "readmeFilename": "README.md", "bugs": {"url": "https://github.com/software-mansion/react-native-gesture-handler/issues"}, "homepage": "https://github.com/software-mansion/react-native-gesture-handler#readme", "dependencies": {"@egjs/hammerjs": "^2.0.17", "hoist-non-react-statics": "^3.3.0", "invariant": "^2.2.4", "lodash": "^4.17.21", "prop-types": "^15.7.2", "react-native": "0.72.0"}, "jest": {"preset": "react-native", "modulePathIgnorePatterns": ["<rootDir>/lib/"]}, "devDependencies": {"@babel/core": "^7.12.9", "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/preset-env": "^7.12.11", "@babel/preset-typescript": "^7.12.7", "@babel/runtime": "^7.12.5", "@testing-library/jest-native": "^4.0.4", "@testing-library/react-native": "^9.0.0", "@types/hammerjs": "^2.0.38", "@types/hoist-non-react-statics": "^3.3.1", "@types/jest": "^27.0.3", "@types/react": "^18.0.24", "@types/react-test-renderer": "^17.0.0", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "babel-jest": "^26.6.3", "clang-format": "^1.8.0", "eslint": "^7.32.0", "eslint-config-satya164": "^3.1.8", "eslint-import-resolver-babel-module": "^5.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^26.0.0", "expo": "^35.0.1", "husky": "^8.0.1", "jest": "^26.6.3", "lint-staged": "^12.3.2", "metro-react-native-babel-preset": "^0.64.0", "prettier": "^2.7.1", "react": "18.2.0", "react-dom": "^16.12.0", "react-native-builder-bob": "^0.17.1", "react-native-reanimated": "^2.3.1", "react-native-web": "^0.11.7", "react-test-renderer": "17.0.2", "release-it": "^13.6.5", "typescript": "^4.5.5", "@amazon-devices/react-native-kepler": "^2.0.0+rn0.72.0"}, "peerDependencies": {"react": "*", "react-native": "*", "@amazon-devices/react-native-kepler": "^2.0.0+rn0.72.0"}, "lint-staged": {"./{src,example,FabricExample}/**/*.{ts,tsx}": "yarn format:js", "android/**/*.kt": "yarn format:android", "ios/**/*.{h,m,mm,cpp}": "yarn format:ios"}, "release-it": {"hooks": {"before:git:bump": ["# check if version corresponds to changes in native files \n if git diff --name-only ${latestVersion} HEAD | egrep \"(android/.*)|(ios/.*)\" -q; then egrep '\\.0$' -q <<< ${version}; else test $? -eq 1; fi"]}}, "react-native-builder-bob": {"source": "src", "output": "lib", "targets": ["commonjs", "module", ["typescript", {"project": "tsconfig.build.json"}]]}, "eslintIgnore": ["node_modules/", "lib/", "src/specs/*NativeComponent.js"], "codegenConfig": {"name": "rngesturehandler_codegen", "type": "components", "jsSrcsDir": "./src/specs"}}
|
|
@@ -37,8 +37,8 @@ interface Spec extends KeplerTurboModule {
|
|
|
37
37
|
try {
|
|
38
38
|
// at this point we need Reanimated to be initialized so that `global._WORKLET_RUNTIME` contains a pointer to the UI runtime
|
|
39
39
|
require('@amazon-devices/react-native-reanimated/src/reanimated2/NativeReanimated');
|
|
40
|
-
} catch (
|
|
41
|
-
|
|
40
|
+
} catch (error: any) {
|
|
41
|
+
console.error('Reanimated integration failure', error);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
const NativeModule = TurboModuleRegistry.getEnforcing<Spec>(
|