@live-change/url-service 0.8.149 → 0.9.0
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/index.js +6 -6
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -203,7 +203,7 @@ async function generateUrl(props, emit) {
|
|
|
203
203
|
if(props.redirect) {
|
|
204
204
|
url = app.generateUid()
|
|
205
205
|
emit({
|
|
206
|
-
type: '
|
|
206
|
+
type: 'RedirectCreated',
|
|
207
207
|
redirect: app.generateUid(),
|
|
208
208
|
identifiers: {
|
|
209
209
|
targetType: props.targetType,
|
|
@@ -217,7 +217,7 @@ async function generateUrl(props, emit) {
|
|
|
217
217
|
} else {
|
|
218
218
|
if(existingCanonical) {
|
|
219
219
|
emit({
|
|
220
|
-
type: '
|
|
220
|
+
type: 'RedirectCreated',
|
|
221
221
|
redirect: app.generateUid(),
|
|
222
222
|
identifiers: {
|
|
223
223
|
targetType: props.targetType,
|
|
@@ -230,7 +230,7 @@ async function generateUrl(props, emit) {
|
|
|
230
230
|
})
|
|
231
231
|
}
|
|
232
232
|
emit({
|
|
233
|
-
type: '
|
|
233
|
+
type: 'CanonicalSet',
|
|
234
234
|
identifiers: {
|
|
235
235
|
targetType: props.targetType,
|
|
236
236
|
target: props.target
|
|
@@ -383,7 +383,7 @@ definition.action({
|
|
|
383
383
|
if(redirect) {
|
|
384
384
|
url = app.generateUid()
|
|
385
385
|
emit({
|
|
386
|
-
type: '
|
|
386
|
+
type: 'RedirectCreated',
|
|
387
387
|
redirect: app.generateUid(),
|
|
388
388
|
identifiers: {
|
|
389
389
|
targetType, target,
|
|
@@ -395,7 +395,7 @@ definition.action({
|
|
|
395
395
|
} else {
|
|
396
396
|
if(existingCanonical) {
|
|
397
397
|
emit({
|
|
398
|
-
type: '
|
|
398
|
+
type: 'RedirectCreated',
|
|
399
399
|
redirect: app.generateUid(),
|
|
400
400
|
identifiers: {
|
|
401
401
|
targetType, target
|
|
@@ -407,7 +407,7 @@ definition.action({
|
|
|
407
407
|
})
|
|
408
408
|
}
|
|
409
409
|
emit({
|
|
410
|
-
type: '
|
|
410
|
+
type: 'CanonicalSet',
|
|
411
411
|
identifiers: {
|
|
412
412
|
targetType, target,
|
|
413
413
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/url-service",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@live-change/framework": "^0.
|
|
26
|
-
"@live-change/relations-plugin": "^0.
|
|
25
|
+
"@live-change/framework": "^0.9.0",
|
|
26
|
+
"@live-change/relations-plugin": "^0.9.0",
|
|
27
27
|
"lru-cache": "^7.12.0",
|
|
28
28
|
"pluralize": "^8.0.0",
|
|
29
29
|
"progress-stream": "^2.0.0",
|
|
30
30
|
"prosemirror-model": "^1.18.1"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "b82513f5b400afcc4b8cc3ae1f9dfe4ac3a2a6eb"
|
|
33
33
|
}
|