@kano/i18n
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -27,3 +27,3 @@ export interface IMessageDB { | ||
*/ | ||
export declare function loadMessages(src: string): Promise<void>; | ||
export declare function loadMessages(src: string): Promise<IMessageDB>; | ||
/** | ||
@@ -30,0 +30,0 @@ * Declare a language as supported. This must happen before the first ever resolve to be taken |
@@ -85,3 +85,6 @@ ; | ||
.then(r => r.json()) | ||
.then(msgs => addMessages(msgs)); | ||
.then((msgs) => { | ||
addMessages(msgs); | ||
return msgs; | ||
}); | ||
} | ||
@@ -88,0 +91,0 @@ /** |
{ | ||
"name": "@kano/i18n", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:KanoComputing/web-i18n.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43276
616