@dan-uni/dan-any 0.6.8 → 0.6.9
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/dist/index.js +1 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
- package/src/utils/dm-gen.ts +4 -1
package/dist/index.js
CHANGED
|
@@ -612,7 +612,7 @@ class UniDM {
|
|
|
612
612
|
};
|
|
613
613
|
}
|
|
614
614
|
static fromDDplay(args, episodeId, domain = platform_PlatformDanmakuOnlySource.DanDanPlay) {
|
|
615
|
-
const SOID = id_gen_UniID.fromUnknown(`
|
|
615
|
+
const SOID = id_gen_UniID.fromUnknown(`def_${platform_PlatformDanmakuOnlySource.DanDanPlay}+${episodeId}`, domain);
|
|
616
616
|
return this.create({
|
|
617
617
|
...args,
|
|
618
618
|
SOID: SOID.toString(),
|
package/dist/index.umd.min.js
CHANGED
|
@@ -23582,7 +23582,7 @@ and limitations under the License.
|
|
|
23582
23582
|
};
|
|
23583
23583
|
}
|
|
23584
23584
|
static fromDDplay(args, episodeId, domain = platform_PlatformDanmakuOnlySource.DanDanPlay) {
|
|
23585
|
-
const SOID = id_gen_UniID.fromUnknown(`
|
|
23585
|
+
const SOID = id_gen_UniID.fromUnknown(`def_${platform_PlatformDanmakuOnlySource.DanDanPlay}+${episodeId}`, domain);
|
|
23586
23586
|
return this.create({
|
|
23587
23587
|
...args,
|
|
23588
23588
|
SOID: SOID.toString(),
|
package/package.json
CHANGED
package/src/utils/dm-gen.ts
CHANGED
|
@@ -931,7 +931,10 @@ export class UniDM {
|
|
|
931
931
|
episodeId: string,
|
|
932
932
|
domain = PlatformDanmakuOnlySource.DanDanPlay,
|
|
933
933
|
) {
|
|
934
|
-
const SOID = ID.fromUnknown(
|
|
934
|
+
const SOID = ID.fromUnknown(
|
|
935
|
+
`def_${PlatformDanmakuOnlySource.DanDanPlay}+${episodeId}`,
|
|
936
|
+
domain,
|
|
937
|
+
)
|
|
935
938
|
return this.create({
|
|
936
939
|
...args,
|
|
937
940
|
SOID: SOID.toString(),
|