react-native-unit-components 3.1.2-beta.5 → 3.1.2-beta.6

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.
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _codegenNativeComponent = _interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- var _default = exports.default = (0, _codegenNativeComponent.default)('UNScrollInteropView');
7
+ var _reactNative = require("react-native");
8
+ var _default = exports.default = (0, _reactNative.requireNativeComponent)('UNScrollInteropView');
10
9
  //# sourceMappingURL=UNScrollInteropView.android.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","e","__esModule","default","_default","exports","codegenNativeComponent"],"sourceRoot":"../../../../src","sources":["nativeComponents/UNScrollInteropView/UNScrollInteropView.android.ts"],"mappings":";;;;;;AACA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAI9E,IAAAG,+BAAsB,EACnC,qBACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_default","exports","default","requireNativeComponent"],"sourceRoot":"../../../../src","sources":["nativeComponents/UNScrollInteropView/UNScrollInteropView.android.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAsD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEvC,IAAAC,mCAAsB,EAAC,qBAAqB,CAAC","ignoreList":[]}
@@ -21,7 +21,7 @@ var _UNFontFileHelper = require("../nativeModulesHelpers/UNFontFileHelper/UNFont
21
21
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
22
22
  class UnitComponentsSDK {
23
23
  static securitySettings = _UnitComponentsSdk2.UNComponentsSDKConstants.securitySettings;
24
- static sdkVersion = '3.1.2-beta.5';
24
+ static sdkVersion = '3.1.2-beta.6';
25
25
  static iosFontBase64Map = {};
26
26
  static init = async (env, theme, language, fonts, webVersioningStrategy = _UnitComponentsSdk2.UNComponentsSDKConstants.webSDKRecommendedStrategy, securitySettings = _UnitComponentsSdk2.UNComponentsSDKConstants.securitySettings) => {
27
27
  try {
@@ -1,3 +1,3 @@
1
- import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
- export default codegenNativeComponent('UNScrollInteropView');
1
+ import { requireNativeComponent } from 'react-native';
2
+ export default requireNativeComponent('UNScrollInteropView');
3
3
  //# sourceMappingURL=UNScrollInteropView.android.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../../src","sources":["nativeComponents/UNScrollInteropView/UNScrollInteropView.android.ts"],"mappings":"AACA,OAAOA,sBAAsB,MAAM,yDAAyD;AAI5F,eAAeA,sBAAsB,CACnC,qBACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["requireNativeComponent"],"sourceRoot":"../../../../src","sources":["nativeComponents/UNScrollInteropView/UNScrollInteropView.android.ts"],"mappings":"AAAA,SAASA,sBAAsB,QAAQ,cAAc;AAErD,eAAeA,sBAAsB,CAAC,qBAAqB,CAAC","ignoreList":[]}
@@ -14,7 +14,7 @@ import UNSnapshotProtectionHelper from '../nativeModulesHelpers/UNSanpshotProtec
14
14
  import { loadIosFontBase64 } from '../nativeModulesHelpers/UNFontFileHelper/UNFontFileHelper';
15
15
  export class UnitComponentsSDK {
16
16
  static securitySettings = UNComponentsSDKConstants.securitySettings;
17
- static sdkVersion = '3.1.2-beta.5';
17
+ static sdkVersion = '3.1.2-beta.6';
18
18
  static iosFontBase64Map = {};
19
19
  static init = async (env, theme, language, fonts, webVersioningStrategy = UNComponentsSDKConstants.webSDKRecommendedStrategy, securitySettings = UNComponentsSDKConstants.securitySettings) => {
20
20
  try {
@@ -1,6 +1,3 @@
1
- import type { HostComponent, ViewProps } from 'react-native';
2
- export interface NativeProps extends ViewProps {
3
- }
4
- declare const _default: HostComponent<NativeProps>;
1
+ declare const _default: import("react-native").HostComponent<unknown>;
5
2
  export default _default;
6
3
  //# sourceMappingURL=UNScrollInteropView.android.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UNScrollInteropView.android.d.ts","sourceRoot":"","sources":["../../../../../src/nativeComponents/UNScrollInteropView/UNScrollInteropView.android.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,MAAM,WAAW,WAAY,SAAQ,SAAS;CAAG;;AAEjD,wBAEgC"}
1
+ {"version":3,"file":"UNScrollInteropView.android.d.ts","sourceRoot":"","sources":["../../../../../src/nativeComponents/UNScrollInteropView/UNScrollInteropView.android.ts"],"names":[],"mappings":";AAEA,wBAA6D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-unit-components",
3
- "version": "3.1.2-beta.5",
3
+ "version": "3.1.2-beta.6",
4
4
  "description": "Unit React Native components",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,8 +1,3 @@
1
- import type { HostComponent, ViewProps } from 'react-native';
2
- import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
1
+ import { requireNativeComponent } from 'react-native';
3
2
 
4
- export interface NativeProps extends ViewProps {}
5
-
6
- export default codegenNativeComponent<NativeProps>(
7
- 'UNScrollInteropView',
8
- ) as HostComponent<NativeProps>;
3
+ export default requireNativeComponent('UNScrollInteropView');
@@ -26,7 +26,7 @@ export class UnitComponentsSDK {
26
26
  protected static fonts?: UNFonts;
27
27
  protected static signedNonce?: string;
28
28
  protected static pushProvisionModule?: typeof NativeModules;
29
- protected static sdkVersion = '3.1.2-beta.5';
29
+ protected static sdkVersion = '3.1.2-beta.6';
30
30
  static iosFontBase64Map: Record<string, string> = {};
31
31
 
32
32
  public static init = async (