@opra/common 0.20.0 → 0.20.3

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/browser.js CHANGED
@@ -1014,7 +1014,7 @@ var DataType = class _DataType {
1014
1014
  }
1015
1015
  extendsFrom(type) {
1016
1016
  const dataType = type instanceof _DataType ? type : this.document.getDataType(type);
1017
- let t = this.base;
1017
+ let t = this;
1018
1018
  while (t) {
1019
1019
  if (t === dataType)
1020
1020
  return true;
@@ -10408,7 +10408,7 @@ var HttpHeaderCodes;
10408
10408
  HttpHeaderCodes2["X_Opra_Version"] = "X-OPRA-Version";
10409
10409
  HttpHeaderCodes2["X_Opra_Data_Type"] = "X-OPRA-Data-Type";
10410
10410
  HttpHeaderCodes2["X_Opra_Operation"] = "X-OPRA-Operation";
10411
- HttpHeaderCodes2["X_Opra_Total_Matches"] = "X-OPRA-Total_Matches";
10411
+ HttpHeaderCodes2["X_Opra_Total_Matches"] = "X-OPRA-Total-Matches";
10412
10412
  HttpHeaderCodes2["WWW_Authenticate"] = "WWW-Authenticate";
10413
10413
  HttpHeaderCodes2["Authorization"] = "Authorization";
10414
10414
  HttpHeaderCodes2["Proxy_Authenticate"] = "Proxy-Authenticate";
@@ -28,7 +28,7 @@ class DataType {
28
28
  }
29
29
  extendsFrom(type) {
30
30
  const dataType = type instanceof DataType ? type : this.document.getDataType(type);
31
- let t = this.base;
31
+ let t = this;
32
32
  while (t) {
33
33
  if (t === dataType)
34
34
  return true;
@@ -11,7 +11,7 @@ var HttpHeaderCodes;
11
11
  HttpHeaderCodes["X_Opra_Version"] = "X-OPRA-Version";
12
12
  HttpHeaderCodes["X_Opra_Data_Type"] = "X-OPRA-Data-Type";
13
13
  HttpHeaderCodes["X_Opra_Operation"] = "X-OPRA-Operation";
14
- HttpHeaderCodes["X_Opra_Total_Matches"] = "X-OPRA-Total_Matches";
14
+ HttpHeaderCodes["X_Opra_Total_Matches"] = "X-OPRA-Total-Matches";
15
15
  /* *** Authentication *** */
16
16
  /**
17
17
  * Defines the authentication method that should be used to access a resource.
@@ -25,7 +25,7 @@ export class DataType {
25
25
  }
26
26
  extendsFrom(type) {
27
27
  const dataType = type instanceof DataType ? type : this.document.getDataType(type);
28
- let t = this.base;
28
+ let t = this;
29
29
  while (t) {
30
30
  if (t === dataType)
31
31
  return true;
@@ -8,7 +8,7 @@ export var HttpHeaderCodes;
8
8
  HttpHeaderCodes["X_Opra_Version"] = "X-OPRA-Version";
9
9
  HttpHeaderCodes["X_Opra_Data_Type"] = "X-OPRA-Data-Type";
10
10
  HttpHeaderCodes["X_Opra_Operation"] = "X-OPRA-Operation";
11
- HttpHeaderCodes["X_Opra_Total_Matches"] = "X-OPRA-Total_Matches";
11
+ HttpHeaderCodes["X_Opra_Total_Matches"] = "X-OPRA-Total-Matches";
12
12
  /* *** Authentication *** */
13
13
  /**
14
14
  * Defines the authentication method that should be used to access a resource.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/common",
3
- "version": "0.20.0",
3
+ "version": "0.20.3",
4
4
  "description": "Opra common package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -54,7 +54,7 @@
54
54
  "putil-varhelpers": "^1.6.5",
55
55
  "reflect-metadata": "^0.1.13",
56
56
  "uid": "^2.0.1",
57
- "valgen": "^4.0.0-alpha.5"
57
+ "valgen": "^4.0.0-alpha.6"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@browsery/fs": "^0.4.0",
@@ -5,7 +5,7 @@ export declare enum HttpHeaderCodes {
5
5
  X_Opra_Version = "X-OPRA-Version",
6
6
  X_Opra_Data_Type = "X-OPRA-Data-Type",
7
7
  X_Opra_Operation = "X-OPRA-Operation",
8
- X_Opra_Total_Matches = "X-OPRA-Total_Matches",
8
+ X_Opra_Total_Matches = "X-OPRA-Total-Matches",
9
9
  /**
10
10
  * Defines the authentication method that should be used to access a resource.
11
11
  */