esoftplay 0.0.153 → 0.0.155

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/bin/cli.js CHANGED
@@ -25,6 +25,7 @@ var args = process.argv.slice(2);
25
25
 
26
26
  // console.log(modpath, "sdofsjdofjsd")
27
27
  async function execution() {
28
+ command('bun ./node_modules/esoftplay/bin/connector.js')
28
29
  const preload = await preload_api()
29
30
  console.log("PRELOAD", preload)
30
31
  if (preload) {
@@ -291,7 +292,7 @@ function switchStatusAssets(status) {
291
292
  const data = oldscript.match(new RegExp(/^\/\/\s{0,}export\s{1}default/gm))
292
293
  let newData = data;
293
294
  if (data && data.length > 0) {
294
- newData = oldscript.replace((new RegExp(/^\/\/\s{0,}/gm)), "")
295
+ newData = oldscript.replace((new RegExp(/^\/\/\s{0,1}/gm)), "")
295
296
  fs.writeFileSync(to, newData)
296
297
  } else {
297
298
  command('cp ' + from + ' ' + to)
package/bin/connector.js CHANGED
@@ -2,7 +2,7 @@ const fs = require('fs')
2
2
 
3
3
  if (fs.existsSync('./raw/connected.json')) {
4
4
  const { source, modules } = JSON.parse(fs.readFileSync('./raw/connected.json'))
5
- const currentProject = './modules/';
5
+ const currentProject = './node_modules/esoftplay/modules/';
6
6
 
7
7
  if (source) {
8
8
  if (modules.length > 0) {
@@ -29,7 +29,7 @@ if (fs.existsSync('./raw/connected.json')) {
29
29
  fs.mkdirSync(currentProject + mod)
30
30
  }
31
31
  fs.writeFileSync(_destination, file, { encoding: 'utf8' })
32
- console.log('>_ ' + module + fext + ' connected!')
32
+ console.log('>_ ' + module + fext + ' connected from ' + source)
33
33
  }
34
34
  })
35
35
  })
@@ -6,6 +6,7 @@ import { useCallback, useEffect } from 'react';
6
6
  import { Alert, Linking } from 'react-native';
7
7
 
8
8
 
9
+ /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/use/deeplink.md#params) untuk melihat dokumentasi*/
9
10
  export const params = useGlobalState<any>(undefined)
10
11
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/use/deeplink.md) untuk melihat dokumentasi*/
11
12
  export default function m(defaultUrl?: string): void {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.153",
3
+ "version": "0.0.155",
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",