esoftplay 0.0.115-m → 0.0.115-n

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,6 +1,6 @@
1
1
  // noPage
2
2
 
3
- import { useGlobalReturn, useGlobalState, _global } from 'esoftplay';
3
+ import { useGlobalReturn, useGlobalState } from 'esoftplay';
4
4
  import React, { Component } from "react";
5
5
  import { Platform } from 'react-native';
6
6
 
@@ -16,7 +16,7 @@ export interface LibWorkerProps {
16
16
  export interface LibWorkerState {
17
17
 
18
18
  }
19
-
19
+ const _global = require('../../_global')
20
20
  _global.LibWorkerBase = React.createRef()
21
21
  _global.LibWorkerTasks = new Map()
22
22
  _global.injectedJavaScripts = []
@@ -1,10 +1,11 @@
1
1
  // withHooks
2
2
  // noPage
3
3
 
4
- import { esp, LibWorker, _global } from 'esoftplay';
4
+ import { esp, LibWorker } from 'esoftplay';
5
5
  import React from 'react';
6
6
  import { Platform, View } from 'react-native';
7
7
  import WebView from 'react-native-webview';
8
+ const _global = require('../../_global')
8
9
 
9
10
  export interface LibWorkviewArgs {
10
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.115-m",
3
+ "version": "0.0.115-n",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",