@onekeyfe/react-native-pager-view 1.1.37 → 1.1.39

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.
@@ -1,4 +1,4 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- >
2
+ >
3
3
 
4
4
  </manifest>
@@ -1,7 +1,10 @@
1
1
  import type * as React from 'react';
2
- import type { HostComponent, ViewProps } from 'react-native';
3
- import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
4
- import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
+ import {
3
+ codegenNativeCommands,
4
+ codegenNativeComponent,
5
+ type HostComponent,
6
+ type ViewProps,
7
+ } from 'react-native';
5
8
 
6
9
  import type {
7
10
  DirectEventHandler,
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import type { HostComponent, ViewProps } from 'react-native';
2
+ import { type HostComponent, type ViewProps } from 'react-native';
3
3
  import type { DirectEventHandler, Double, Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
4
4
  export type OnPageScrollEventData = Readonly<{
5
5
  position: Double;
@@ -1 +1 @@
1
- {"version":3,"file":"PagerViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/PagerViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI7D,OAAO,KAAK,EACV,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,QAAQ,EAAE,MAAM,C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aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-pager-view",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "description": "React Native wrapper for Android and iOS ViewPager",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",
@@ -1,7 +1,10 @@
1
1
  import type * as React from 'react';
2
- import type { HostComponent, ViewProps } from 'react-native';
3
- import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
4
- import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
+ import {
3
+ codegenNativeCommands,
4
+ codegenNativeComponent,
5
+ type HostComponent,
6
+ type ViewProps,
7
+ } from 'react-native';
5
8
 
6
9
  import type {
7
10
  DirectEventHandler,