@ray-js/api 1.7.0 → 1.7.1

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,4 +1,4 @@
1
- type IRegionCode = 'AY' | 'AZ' | 'EU' | 'IN' | 'UE' | 'WE' | 'RU';
1
+ type IRegionCode = 'AY' | 'AZ' | 'EU' | 'IN' | 'UE' | 'WE' | 'RU' | 'SG';
2
2
  type ICdnMap = Record<string, string> | Record<IRegionCode, Record<string, string>>;
3
3
  export declare function getRegionCode(): Promise<IRegionCode>;
4
4
  /**
@@ -2,6 +2,7 @@ import get from 'lodash/get';
2
2
  const regionMap = {
3
3
  AY: 'https://images.tuyacn.com',
4
4
  AZ: 'https://usimagesd1448c85ulz2o4.cdn5th.com',
5
+ SG: 'https://usimagesd1448c85ulz2o4.cdn5th.com',
5
6
  EU: 'https://euimagesd2h2yqnfpu4gl5.cdn5th.com',
6
7
  IN: 'https://inimagesd1jqokb9wptk2t.cdn5th.com',
7
8
  RU: 'https://euimagesd2h2yqnfpu4gl5.cdn5th.com',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,14 +29,14 @@
29
29
  "watch": "ray start --type=component"
30
30
  },
31
31
  "dependencies": {
32
- "@ray-js/framework": "1.7.0",
33
- "@ray-js/router": "1.7.0",
32
+ "@ray-js/framework": "1.7.1",
33
+ "@ray-js/router": "1.7.1",
34
34
  "@ray-js/wechat": "^0.3.8",
35
35
  "base64-browser": "^1.0.1",
36
36
  "query-string": "^7.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/cli": "1.7.0",
39
+ "@ray-js/cli": "1.7.1",
40
40
  "art-template": "^4.13.4",
41
41
  "fs-extra": "^10.1.0",
42
42
  "miniprogram-api-typings": "^3.12.3",
@@ -46,5 +46,5 @@
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "c230e01c313aca9700e12d14b80488aae9bec3d3"
49
+ "gitHead": "ee4de9cff31625500899e57693b00545e6a1e9ee"
50
50
  }