@avstantso/core 1.2.1 → 1.2.2
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/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -560,9 +560,9 @@ The lowercase singleton avoids reference errors in Jest and other test environme
|
|
|
560
560
|
**Example:**
|
|
561
561
|
```typescript
|
|
562
562
|
// Create a custom namespace for your application
|
|
563
|
-
const myApp = avstantso.RegisterGlobalNamespace
|
|
563
|
+
const myApp = avstantso.RegisterGlobalNamespace('MyApp', {
|
|
564
564
|
version: '1.0.0'
|
|
565
|
-
});
|
|
565
|
+
} as MyApp.Code);
|
|
566
566
|
|
|
567
567
|
// TypeScript namespace declarations use uppercase
|
|
568
568
|
declare namespace MyApp {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@avstantso/core",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"author": "avstantso",
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.2",
|
|
6
6
|
"description": "Core global AVStantso singleton",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"AVStantso singleton"
|
|
@@ -23,9 +23,6 @@
|
|
|
23
23
|
"test": "NODE_ENV=test jest --coverage"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@avstantso/std-ext": "1.2.
|
|
27
|
-
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@avstantso/dev-basic": "1.0.0"
|
|
26
|
+
"@avstantso/std-ext": "1.2.2"
|
|
30
27
|
}
|
|
31
28
|
}
|