spyne 0.21.2 → 0.21.4
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/SECURITY.md +8 -0
- package/lib/spyne.esm.js +2 -2
- package/lib/spyne.esm.js.map +1 -1
- package/lib/spyne.umd.js +2 -2
- package/lib/spyne.umd.js.LICENSE.txt +2 -2
- package/package.json +1 -1
- package/src/spyne/channels/spyne-channel-route.js +1 -1
- package/src/spyne/spyne-app.js +2 -2
- package/src/spyne/utils/spyne-app-properties.js +7 -0
package/package.json
CHANGED
|
@@ -247,7 +247,7 @@ export class SpyneChannelRoute extends Channel {
|
|
|
247
247
|
// define an alias property using Object.defineProperty
|
|
248
248
|
Object.defineProperty(payload, 'linksData', {
|
|
249
249
|
get() {
|
|
250
|
-
console.warn('get links data is deprecated in ROUTE DEEPLINK DATA, use navLinks')
|
|
250
|
+
// console.warn('get links data is deprecated in ROUTE DEEPLINK DATA, use navLinks')
|
|
251
251
|
return this.navLinks
|
|
252
252
|
},
|
|
253
253
|
set(value) {
|
package/src/spyne/spyne-app.js
CHANGED
|
@@ -6,7 +6,7 @@ import { sanitizeHTMLConfigure } from './utils/sanitize-html.js'
|
|
|
6
6
|
import { sanitizeDataConfigure } from './utils/sanitize-data.js'
|
|
7
7
|
|
|
8
8
|
const _channels = new ChannelsMap()
|
|
9
|
-
const version = '0.21.
|
|
9
|
+
const version = '0.21.4'
|
|
10
10
|
|
|
11
11
|
class SpyneApplication {
|
|
12
12
|
/**
|
|
@@ -41,7 +41,7 @@ class SpyneApplication {
|
|
|
41
41
|
init(config = {}, testMode = false) {
|
|
42
42
|
// this.channels = new ChannelsMap();
|
|
43
43
|
/*!
|
|
44
|
-
* Spyne 0.21.
|
|
44
|
+
* Spyne 0.21.4
|
|
45
45
|
* https://spynejs.org
|
|
46
46
|
*
|
|
47
47
|
* @license
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SpyneUtilsChannelRoute } from './spyne-utils-channel-route.js'
|
|
2
|
+
import { SpyneUtilsChannelRouteUrl } from './spyne-utils-channel-route-url.js'
|
|
2
3
|
import { SpynePluginsMethods } from './spyne-plugins-methods.js'
|
|
3
4
|
import { deepMerge } from './deep-merge.js'
|
|
4
5
|
|
|
@@ -272,6 +273,12 @@ class SpyneAppPropertiesClass {
|
|
|
272
273
|
return _enableCMSProxies
|
|
273
274
|
}
|
|
274
275
|
|
|
276
|
+
getHrefFromData(routeProps={}){
|
|
277
|
+
|
|
278
|
+
return SpyneUtilsChannelRouteUrl.convertParamsToRoute(routeProps);
|
|
279
|
+
|
|
280
|
+
}
|
|
281
|
+
|
|
275
282
|
set enableCMSProxies(bool=true){
|
|
276
283
|
_enableCMSProxies = Boolean(bool);
|
|
277
284
|
}
|