@coopenomics/sdk 2026.10.29 → 2026.10.30-1
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.d.cts +5 -7
- package/dist/index.d.mts +5 -7
- package/dist/index.d.ts +5 -7
- package/package.json +5 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TransactResult } from '@wharfkit/session';
|
|
2
2
|
import { API } from '@wharfkit/antelope';
|
|
3
3
|
import { Cooperative, SovietContract } from 'cooptypes';
|
|
4
|
+
import { ZGeneratedDocument, IMetaDocument } from '@coopenomics/docs-templates';
|
|
4
5
|
|
|
5
6
|
declare const Ops: {
|
|
6
7
|
query: "Query";
|
|
@@ -78021,14 +78022,10 @@ declare class Crypto {
|
|
|
78021
78022
|
static sha256(data: string | number): Promise<string>;
|
|
78022
78023
|
}
|
|
78023
78024
|
|
|
78024
|
-
/**
|
|
78025
|
-
* Интерфейс для метаданных документа.
|
|
78026
|
-
*/
|
|
78027
|
-
type IMetaDocument = Cooperative.Document.IMetaDocument;
|
|
78028
78025
|
/**
|
|
78029
78026
|
* Интерфейс для сгенерированного документа, который требуется подписать.
|
|
78030
78027
|
*/
|
|
78031
|
-
type IGeneratedDocument<T = any> =
|
|
78028
|
+
type IGeneratedDocument<T = any> = ZGeneratedDocument<T>;
|
|
78032
78029
|
/**
|
|
78033
78030
|
* Интерфейс для информации о подписи в документе.
|
|
78034
78031
|
*/
|
|
@@ -78045,14 +78042,15 @@ type ISignedDocumentInput = ModelTypes['SignedDigitalDocumentInput'];
|
|
|
78045
78042
|
type ISignedChainDocument = Cooperative.Document.IChainDocument2;
|
|
78046
78043
|
|
|
78047
78044
|
type index$1m_IGeneratedDocument<T = any> = IGeneratedDocument<T>;
|
|
78048
|
-
|
|
78045
|
+
declare const index$1m_IMetaDocument: typeof IMetaDocument;
|
|
78049
78046
|
type index$1m_ISignatureInfo = ISignatureInfo;
|
|
78050
78047
|
type index$1m_ISignatureInfoInput = ISignatureInfoInput;
|
|
78051
78048
|
type index$1m_ISignedChainDocument = ISignedChainDocument;
|
|
78052
78049
|
type index$1m_ISignedDocument = ISignedDocument;
|
|
78053
78050
|
type index$1m_ISignedDocumentInput = ISignedDocumentInput;
|
|
78054
78051
|
declare namespace index$1m {
|
|
78055
|
-
export
|
|
78052
|
+
export { index$1m_IMetaDocument as IMetaDocument };
|
|
78053
|
+
export type { index$1m_IGeneratedDocument as IGeneratedDocument, index$1m_ISignatureInfo as ISignatureInfo, index$1m_ISignatureInfoInput as ISignatureInfoInput, index$1m_ISignedChainDocument as ISignedChainDocument, index$1m_ISignedDocument as ISignedDocument, index$1m_ISignedDocumentInput as ISignedDocumentInput };
|
|
78056
78054
|
}
|
|
78057
78055
|
|
|
78058
78056
|
/** Актуальная версия алгоритма подписи для новых документов (детерминированная канонизация meta через JCS RFC 8785). */
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TransactResult } from '@wharfkit/session';
|
|
2
2
|
import { API } from '@wharfkit/antelope';
|
|
3
3
|
import { Cooperative, SovietContract } from 'cooptypes';
|
|
4
|
+
import { ZGeneratedDocument, IMetaDocument } from '@coopenomics/docs-templates';
|
|
4
5
|
|
|
5
6
|
declare const Ops: {
|
|
6
7
|
query: "Query";
|
|
@@ -78021,14 +78022,10 @@ declare class Crypto {
|
|
|
78021
78022
|
static sha256(data: string | number): Promise<string>;
|
|
78022
78023
|
}
|
|
78023
78024
|
|
|
78024
|
-
/**
|
|
78025
|
-
* Интерфейс для метаданных документа.
|
|
78026
|
-
*/
|
|
78027
|
-
type IMetaDocument = Cooperative.Document.IMetaDocument;
|
|
78028
78025
|
/**
|
|
78029
78026
|
* Интерфейс для сгенерированного документа, который требуется подписать.
|
|
78030
78027
|
*/
|
|
78031
|
-
type IGeneratedDocument<T = any> =
|
|
78028
|
+
type IGeneratedDocument<T = any> = ZGeneratedDocument<T>;
|
|
78032
78029
|
/**
|
|
78033
78030
|
* Интерфейс для информации о подписи в документе.
|
|
78034
78031
|
*/
|
|
@@ -78045,14 +78042,15 @@ type ISignedDocumentInput = ModelTypes['SignedDigitalDocumentInput'];
|
|
|
78045
78042
|
type ISignedChainDocument = Cooperative.Document.IChainDocument2;
|
|
78046
78043
|
|
|
78047
78044
|
type index$1m_IGeneratedDocument<T = any> = IGeneratedDocument<T>;
|
|
78048
|
-
|
|
78045
|
+
declare const index$1m_IMetaDocument: typeof IMetaDocument;
|
|
78049
78046
|
type index$1m_ISignatureInfo = ISignatureInfo;
|
|
78050
78047
|
type index$1m_ISignatureInfoInput = ISignatureInfoInput;
|
|
78051
78048
|
type index$1m_ISignedChainDocument = ISignedChainDocument;
|
|
78052
78049
|
type index$1m_ISignedDocument = ISignedDocument;
|
|
78053
78050
|
type index$1m_ISignedDocumentInput = ISignedDocumentInput;
|
|
78054
78051
|
declare namespace index$1m {
|
|
78055
|
-
export
|
|
78052
|
+
export { index$1m_IMetaDocument as IMetaDocument };
|
|
78053
|
+
export type { index$1m_IGeneratedDocument as IGeneratedDocument, index$1m_ISignatureInfo as ISignatureInfo, index$1m_ISignatureInfoInput as ISignatureInfoInput, index$1m_ISignedChainDocument as ISignedChainDocument, index$1m_ISignedDocument as ISignedDocument, index$1m_ISignedDocumentInput as ISignedDocumentInput };
|
|
78056
78054
|
}
|
|
78057
78055
|
|
|
78058
78056
|
/** Актуальная версия алгоритма подписи для новых документов (детерминированная канонизация meta через JCS RFC 8785). */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TransactResult } from '@wharfkit/session';
|
|
2
2
|
import { API } from '@wharfkit/antelope';
|
|
3
3
|
import { Cooperative, SovietContract } from 'cooptypes';
|
|
4
|
+
import { ZGeneratedDocument, IMetaDocument } from '@coopenomics/docs-templates';
|
|
4
5
|
|
|
5
6
|
declare const Ops: {
|
|
6
7
|
query: "Query";
|
|
@@ -78021,14 +78022,10 @@ declare class Crypto {
|
|
|
78021
78022
|
static sha256(data: string | number): Promise<string>;
|
|
78022
78023
|
}
|
|
78023
78024
|
|
|
78024
|
-
/**
|
|
78025
|
-
* Интерфейс для метаданных документа.
|
|
78026
|
-
*/
|
|
78027
|
-
type IMetaDocument = Cooperative.Document.IMetaDocument;
|
|
78028
78025
|
/**
|
|
78029
78026
|
* Интерфейс для сгенерированного документа, который требуется подписать.
|
|
78030
78027
|
*/
|
|
78031
|
-
type IGeneratedDocument<T = any> =
|
|
78028
|
+
type IGeneratedDocument<T = any> = ZGeneratedDocument<T>;
|
|
78032
78029
|
/**
|
|
78033
78030
|
* Интерфейс для информации о подписи в документе.
|
|
78034
78031
|
*/
|
|
@@ -78045,14 +78042,15 @@ type ISignedDocumentInput = ModelTypes['SignedDigitalDocumentInput'];
|
|
|
78045
78042
|
type ISignedChainDocument = Cooperative.Document.IChainDocument2;
|
|
78046
78043
|
|
|
78047
78044
|
type index$1m_IGeneratedDocument<T = any> = IGeneratedDocument<T>;
|
|
78048
|
-
|
|
78045
|
+
declare const index$1m_IMetaDocument: typeof IMetaDocument;
|
|
78049
78046
|
type index$1m_ISignatureInfo = ISignatureInfo;
|
|
78050
78047
|
type index$1m_ISignatureInfoInput = ISignatureInfoInput;
|
|
78051
78048
|
type index$1m_ISignedChainDocument = ISignedChainDocument;
|
|
78052
78049
|
type index$1m_ISignedDocument = ISignedDocument;
|
|
78053
78050
|
type index$1m_ISignedDocumentInput = ISignedDocumentInput;
|
|
78054
78051
|
declare namespace index$1m {
|
|
78055
|
-
export
|
|
78052
|
+
export { index$1m_IMetaDocument as IMetaDocument };
|
|
78053
|
+
export type { index$1m_IGeneratedDocument as IGeneratedDocument, index$1m_ISignatureInfo as ISignatureInfo, index$1m_ISignatureInfoInput as ISignatureInfoInput, index$1m_ISignedChainDocument as ISignedChainDocument, index$1m_ISignedDocument as ISignedDocument, index$1m_ISignedDocumentInput as ISignedDocumentInput };
|
|
78056
78054
|
}
|
|
78057
78055
|
|
|
78058
78056
|
/** Актуальная версия алгоритма подписи для новых документов (детерминированная канонизация meta через JCS RFC 8785). */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopenomics/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2026.10.
|
|
4
|
+
"version": "2026.10.30-1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@10.33.0",
|
|
7
7
|
"description": "TypeScript SDK для работы с API кооператива",
|
|
@@ -44,13 +44,14 @@
|
|
|
44
44
|
"update:comments": "esno scripts/generate-index-comments.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@coopenomics/
|
|
47
|
+
"@coopenomics/docs-templates": "1.3.0",
|
|
48
|
+
"@coopenomics/i18n": "2026.10.30-1",
|
|
48
49
|
"@wharfkit/antelope": "^1.1.1",
|
|
49
50
|
"@wharfkit/contract": "^1.1.5",
|
|
50
51
|
"@wharfkit/session": "^1.4.0",
|
|
51
52
|
"@wharfkit/wallet-plugin-privatekey": "^1.1.0",
|
|
52
53
|
"canonicalize": "^2.0.0",
|
|
53
|
-
"cooptypes": "2026.10.
|
|
54
|
+
"cooptypes": "2026.10.30-1",
|
|
54
55
|
"graphql": "^16.9.0",
|
|
55
56
|
"graphql-request": "^7.1.2",
|
|
56
57
|
"graphql-tag": "^2.12.6",
|
|
@@ -78,5 +79,5 @@
|
|
|
78
79
|
"vite": "^5.4.3",
|
|
79
80
|
"vitest": "^2.0.5"
|
|
80
81
|
},
|
|
81
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "43ae8f5d452c64e41de2d6fb592ecccd373a873c"
|
|
82
83
|
}
|