@dcloudio/uni-push 3.0.0-alpha-3040620220419002 → 3.0.0-alpha-3040720220422002

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.
@@ -84,9 +84,9 @@ e.send({data:t,success:function(t){},fail:function(t){}});
84
84
 
85
85
  var GtPush = /*@__PURE__*/getDefaultExportFromCjs(gtpushMin);
86
86
 
87
- if (process.env.UNI_PUSH_DEBUG) {
88
- GtPush.setDebugMode(true);
89
- }
87
+ // if (process.env.UNI_PUSH_DEBUG) {
88
+ // GtPush.setDebugMode(true)
89
+ // }
90
90
  const appid = process.env.UNI_APP_ID;
91
91
  if (!appid) {
92
92
  Promise.resolve().then(() => {
package/lib/uni.plugin.js CHANGED
@@ -1,15 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var path = require('path');
4
- var debug = require('debug');
5
4
  var uniCliShared = require('@dcloudio/uni-cli-shared');
6
5
 
7
6
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
7
 
9
8
  var path__default = /*#__PURE__*/_interopDefaultLegacy(path);
10
- var debug__default = /*#__PURE__*/_interopDefaultLegacy(debug);
11
9
 
12
- const debugPush = debug__default["default"]('uni:push');
13
10
  var index = () => [
14
11
  uniCliShared.defineUniMainJsPlugin((opts) => {
15
12
  let isEnable = false;
@@ -31,10 +28,9 @@ var index = () => [
31
28
  if (isOffline) {
32
29
  return;
33
30
  }
34
- debugPush('deubg', debug__default["default"]);
35
31
  return {
36
32
  define: {
37
- 'process.env.UNI_PUSH_DEBUG': !!debug__default["default"],
33
+ 'process.env.UNI_PUSH_DEBUG': false,
38
34
  },
39
35
  };
40
36
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-push",
3
- "version": "3.0.0-alpha-3040620220419002",
3
+ "version": "3.0.0-alpha-3040720220422002",
4
4
  "description": "@dcloudio/uni-push",
5
5
  "main": "lib/uni-push.js",
6
6
  "module": "lib/uni-push.js",
@@ -20,10 +20,6 @@
20
20
  },
21
21
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
22
22
  "dependencies": {
23
- "@dcloudio/uni-cli-shared": "3.0.0-alpha-3040620220419002",
24
- "debug": "^4.3.3"
25
- },
26
- "devDependencies": {
27
- "@types/debug": "^4.1.7"
23
+ "@dcloudio/uni-cli-shared": "3.0.0-alpha-3040720220422002"
28
24
  }
29
25
  }