@cardano-sdk/projection 0.3.0-nightly.2 → 0.3.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/dist/cjs/operators/certificates/withStakeKeys.d.ts +3 -3
- package/dist/cjs/operators/certificates/withStakeKeys.d.ts.map +1 -1
- package/dist/cjs/operators/certificates/withStakeKeys.js.map +1 -1
- package/dist/cjs/sinks/inMemory/types.d.ts +2 -1
- package/dist/cjs/sinks/inMemory/types.d.ts.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/operators/certificates/withStakeKeys.d.ts +3 -3
- package/dist/esm/operators/certificates/withStakeKeys.d.ts.map +1 -1
- package/dist/esm/operators/certificates/withStakeKeys.js.map +1 -1
- package/dist/esm/sinks/inMemory/types.d.ts +2 -1
- package/dist/esm/sinks/inMemory/types.d.ts.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Crypto from '@cardano-sdk/crypto';
|
|
2
2
|
import { WithCertificates } from './withCertificates';
|
|
3
3
|
export interface WithStakeKeys {
|
|
4
4
|
stakeKeys: {
|
|
5
|
-
register: Set<
|
|
6
|
-
deregister: Set<
|
|
5
|
+
register: Set<Crypto.Ed25519KeyHashHex>;
|
|
6
|
+
deregister: Set<Crypto.Ed25519KeyHashHex>;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export declare const withStakeKeys: <SourceExtraRollForwardPropsIn extends WithCertificates, SourceExtraRollBackwardPropsIn extends WithCertificates & import("../..").WithBlock>() => import("../..").ProjectorOperator<SourceExtraRollForwardPropsIn, SourceExtraRollBackwardPropsIn, WithStakeKeys, WithStakeKeys>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withStakeKeys.d.ts","sourceRoot":"","sources":["../../../../src/operators/certificates/withStakeKeys.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"withStakeKeys.d.ts","sourceRoot":"","sources":["../../../../src/operators/certificates/withStakeKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE;QACT,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;QACxC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;KAC3C,CAAC;CACH;AAYD,eAAO,MAAM,aAAa,mRA2BxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withStakeKeys.js","sourceRoot":"","sources":["../../../../src/operators/certificates/withStakeKeys.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"withStakeKeys.js","sourceRoot":"","sources":["../../../../src/operators/certificates/withStakeKeys.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAmBpD,MAAM,CAAC,MAAM,aAAa,GAAG,wBAAwB,CAAkC,CAAC,GAAG,EAAE,EAAE;IAC7F,MAAM,QAAQ,GAAG,IAAI,GAAG,EAA4B,CAAC;IACrD,MAAM,UAAU,GAAG,IAAI,GAAG,EAA4B,CAAC;IACvD,KAAK,MAAM,EAAE,WAAW,EAAE,IAAI,GAAG,CAAC,YAAY;QAC5C,QAAQ,WAAW,CAAC,UAAU,EAAE;YAC9B,KAAK,OAAO,CAAC,eAAe,CAAC,oBAAoB;gBAC/C,IAAI,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE;oBAC5C,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;iBAC7C;qBAAM;oBACL,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;iBACxC;gBACD,MAAM;YACR,KAAK,OAAO,CAAC,eAAe,CAAC,sBAAsB;gBACjD,IAAI,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE;oBAC1C,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;iBAC3C;qBAAM;oBACL,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;iBAC1C;gBACD,MAAM;SACT;IACH,OAAO;QACL,GAAG,GAAG;QACN,SAAS,EAAE;YACT,UAAU;YACV,QAAQ;SACT;KACF,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Cardano } from '@cardano-sdk/core';
|
|
2
|
+
import { Ed25519KeyHashHex } from '@cardano-sdk/crypto';
|
|
2
3
|
import { PoolRetirement, PoolUpdate } from '../../operators';
|
|
3
4
|
export declare type InMemoryStore = {
|
|
4
|
-
stakeKeys: Set<
|
|
5
|
+
stakeKeys: Set<Ed25519KeyHashHex>;
|
|
5
6
|
stakePools: Map<Cardano.PoolId, {
|
|
6
7
|
updates: PoolUpdate[];
|
|
7
8
|
retirements: PoolRetirement[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/sinks/inMemory/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7D,oBAAY,aAAa,GAAG;IAC1B,SAAS,EAAE,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/sinks/inMemory/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7D,oBAAY,aAAa,GAAG;IAC1B,SAAS,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAClC,UAAU,EAAE,GAAG,CACb,OAAO,CAAC,MAAM,EACd;QACE,OAAO,EAAE,UAAU,EAAE,CAAC;QACtB,WAAW,EAAE,cAAc,EAAE,CAAC;KAC/B,CACF,CAAC;CACH,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC"}
|