@tak-ps/node-cot 14.1.1 → 14.2.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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Util from '../utils/util.js';
|
|
2
|
+
import { v4 as randomUUID } from 'uuid';
|
|
2
3
|
import CoT from '../cot.js';
|
|
3
4
|
export class FileShare extends CoT {
|
|
4
5
|
constructor(fileshare) {
|
|
@@ -9,6 +10,13 @@ export class FileShare extends CoT {
|
|
|
9
10
|
detail: {
|
|
10
11
|
fileshare: {
|
|
11
12
|
_attributes: fileshare
|
|
13
|
+
},
|
|
14
|
+
ackrequest: {
|
|
15
|
+
_attributes: {
|
|
16
|
+
uid: randomUUID(),
|
|
17
|
+
tag: 'transfer',
|
|
18
|
+
ackrequested: true
|
|
19
|
+
}
|
|
12
20
|
}
|
|
13
21
|
}
|
|
14
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileshare.js","sourceRoot":"","sources":["../../../lib/builders/fileshare.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,kBAAkB,CAAA;AACnC,OAAO,GAAG,MAAM,WAAW,CAAC;AAK5B,MAAM,OAAO,SAAU,SAAQ,GAAG;IAC9B,YAAY,SAA6C;QACrD,MAAM,GAAG,GAA2B;YAChC,KAAK,EAAE;gBACH,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC;gBAClD,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE;gBACvB,MAAM,EAAE;oBACJ,SAAS,EAAE;wBACP,WAAW,EAAE,SAAS;qBACzB;iBACJ;aACJ;SACJ,CAAC;QAEF,KAAK,CAAC,GAAG,CAAC,CAAA;IACd,CAAC;CACJ"}
|
|
1
|
+
{"version":3,"file":"fileshare.js","sourceRoot":"","sources":["../../../lib/builders/fileshare.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,kBAAkB,CAAA;AACnC,OAAO,EAAE,EAAE,IAAI,UAAU,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,GAAG,MAAM,WAAW,CAAC;AAK5B,MAAM,OAAO,SAAU,SAAQ,GAAG;IAC9B,YAAY,SAA6C;QACrD,MAAM,GAAG,GAA2B;YAChC,KAAK,EAAE;gBACH,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC;gBAClD,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE;gBACvB,MAAM,EAAE;oBACJ,SAAS,EAAE;wBACP,WAAW,EAAE,SAAS;qBACzB;oBACD,UAAU,EAAE;wBACR,WAAW,EAAE;4BACT,GAAG,EAAE,UAAU,EAAE;4BACjB,GAAG,EAAE,UAAU;4BACf,YAAY,EAAE,IAAI;yBACrB;qBACJ;iBACJ;aACJ;SACJ,CAAC;QAEF,KAAK,CAAC,GAAG,CAAC,CAAA;IACd,CAAC;CACJ"}
|
package/dist/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Util from '../utils/util.js'
|
|
2
|
+
import { v4 as randomUUID } from 'uuid';
|
|
2
3
|
import CoT from '../cot.js';
|
|
3
4
|
import type JSONCoT from '../types/types.js';
|
|
4
5
|
import type { FileShareAttributes } from '../types/types.js';
|
|
@@ -13,6 +14,13 @@ export class FileShare extends CoT {
|
|
|
13
14
|
detail: {
|
|
14
15
|
fileshare: {
|
|
15
16
|
_attributes: fileshare
|
|
17
|
+
},
|
|
18
|
+
ackrequest: {
|
|
19
|
+
_attributes: {
|
|
20
|
+
uid: randomUUID(),
|
|
21
|
+
tag: 'transfer',
|
|
22
|
+
ackrequested: true
|
|
23
|
+
}
|
|
16
24
|
}
|
|
17
25
|
}
|
|
18
26
|
}
|
package/package.json
CHANGED