ts-glitter 13.8.7991 → 13.8.7992

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/lowcode/Entry.js CHANGED
@@ -70,7 +70,7 @@ export class Entry {
70
70
  }
71
71
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
72
72
  console.log(`Entry-time:`, window.renderClock.stop());
73
- glitter.share.editerVersion = 'V_13.8.7991';
73
+ glitter.share.editerVersion = 'V_13.8.7992';
74
74
  glitter.share.start = new Date();
75
75
  const vm = {
76
76
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -71,7 +71,7 @@ export class Entry {
71
71
  }
72
72
  (window as any).renderClock = (window as any).renderClock ?? clockF();
73
73
  console.log(`Entry-time:`, (window as any).renderClock.stop());
74
- glitter.share.editerVersion = 'V_13.8.7991';
74
+ glitter.share.editerVersion = 'V_13.8.7992';
75
75
  glitter.share.start = new Date();
76
76
  const vm: {
77
77
  appConfig: any;
@@ -28,7 +28,7 @@ export class ApiWallet {
28
28
  });
29
29
  }
30
30
 
31
- public static getWallet(token:string) {
31
+ public static getWallet(token?:string) {
32
32
  return BaseApi.create({
33
33
  url: getBaseUrl() + `/api-public/v1/wallet/sum`,
34
34
  type: 'GET',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.8.7991",
3
+ "version": "13.8.7992",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,7 +23,7 @@ declare const _default: {
23
23
  getPagination: (sql: string, page: number, pageCount: number) => string;
24
24
  escape: (parameter: any) => string;
25
25
  queryLambada: (cf: {
26
- database?: string | undefined;
26
+ database?: string;
27
27
  }, fun: (v: {
28
28
  query(sql: string, params: unknown[]): Promise<any>;
29
29
  }) => any) => Promise<any>;
@@ -76,7 +76,7 @@ const query = async (sql, params) => {
76
76
  const TAG = '[Database][Query]';
77
77
  try {
78
78
  const connection = await pool.getConnection();
79
- await pool.query(`SET time_zone = '+08:00';`, []);
79
+ await pool.query(`SET time_zone = '+00:00';`, []);
80
80
  const [results] = await pool.query(sql, params);
81
81
  connection.release();
82
82
  return results;
@@ -71,7 +71,7 @@ const query = async (sql: string, params: unknown[]): Promise<any> => {
71
71
  const TAG = '[Database][Query]';
72
72
  try {
73
73
  const connection = await pool.getConnection();
74
- await pool.query(`SET time_zone = '+08:00';`,[]);
74
+ await pool.query(`SET time_zone = '+00:00';`,[]);
75
75
  const [results] = await pool.query(sql, params);
76
76
  connection.release();
77
77
  return results;