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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Spyne 0.21.2
2
+ * Spyne 0.21.4
3
3
  * https://spynejs.org
4
4
  *
5
5
  * @license
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  /*!
18
- * spynejs 0.21.2
18
+ * spynejs 0.21.4
19
19
  * https://spynejs.org
20
20
  * (c) 2017-present Frank Batista
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spyne",
3
- "version": "0.21.2",
3
+ "version": "0.21.4",
4
4
  "description": "Reactive Real-DOM Framework for Advanced Javascript applications",
5
5
  "sideEffects": true,
6
6
  "main": "./lib/spyne.esm.js",
@@ -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) {
@@ -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.2'
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.2
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
  }