@iota-uz/sdk 0.42.0 → 0.43.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/chat-ui/components/UserAvatar.d.ts +0 -4
- package/dist/chat-ui/context/IotaContext.d.ts +2 -0
- package/dist/chat-ui/data/mappers.d.ts +0 -9
- package/dist/chat-ui/index.js +5566 -5550
- package/dist/chat-ui/utils/initials.d.ts +13 -0
- package/dist/client-host/identity.d.ts +4 -4
- package/dist/client-host/identity.js +2 -2
- package/dist/sdk-identity.cjs +3 -3
- package/dist/sdk-identity.js +3 -3
- package/dist/sdk-identity.json +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface InitialsSource {
|
|
2
|
+
initials?: string | null;
|
|
3
|
+
firstName?: string | null;
|
|
4
|
+
lastName?: string | null;
|
|
5
|
+
}
|
|
6
|
+
/** Placeholder shown by avatars when no name data is available. */
|
|
7
|
+
export declare const UNKNOWN_INITIALS = "?";
|
|
8
|
+
/**
|
|
9
|
+
* Derives avatar initials: explicit initials win, then the first letters of the
|
|
10
|
+
* first and last name. Returns an empty string when nothing is known, so callers
|
|
11
|
+
* can fall back to another source instead of a fabricated letter.
|
|
12
|
+
*/
|
|
13
|
+
export declare function deriveInitials(source: InitialsSource | null | undefined): string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const SDK_RELEASE_VERSION = "0.
|
|
2
|
-
export declare const SDK_SOURCE_COMMIT = "
|
|
1
|
+
export declare const SDK_RELEASE_VERSION = "0.43.1";
|
|
2
|
+
export declare const SDK_SOURCE_COMMIT = "a8dcfd8288e237166b87cb4e2dd017c35b06de74";
|
|
3
3
|
export declare const SDK_PROTOCOL_VERSION = "1.0.0";
|
|
4
4
|
export declare const SDK_IDENTITY: Readonly<{
|
|
5
|
-
releaseVersion: "0.
|
|
6
|
-
sourceCommit: "
|
|
5
|
+
releaseVersion: "0.43.1";
|
|
6
|
+
sourceCommit: "a8dcfd8288e237166b87cb4e2dd017c35b06de74";
|
|
7
7
|
protocolVersion: "1.0.0";
|
|
8
8
|
}>;
|
|
9
9
|
export interface SDKRuntimeIdentity {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CLIENT_HOST_PROTOCOL_VERSION } from './protocol';
|
|
2
|
-
export const SDK_RELEASE_VERSION = '0.
|
|
3
|
-
export const SDK_SOURCE_COMMIT = '
|
|
2
|
+
export const SDK_RELEASE_VERSION = '0.43.1';
|
|
3
|
+
export const SDK_SOURCE_COMMIT = 'a8dcfd8288e237166b87cb4e2dd017c35b06de74';
|
|
4
4
|
export const SDK_PROTOCOL_VERSION = CLIENT_HOST_PROTOCOL_VERSION;
|
|
5
5
|
export const SDK_IDENTITY = Object.freeze({
|
|
6
6
|
releaseVersion: SDK_RELEASE_VERSION,
|
package/dist/sdk-identity.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict'
|
|
2
|
-
const SDK_RELEASE_VERSION = "0.
|
|
3
|
-
const SDK_SOURCE_COMMIT = "
|
|
2
|
+
const SDK_RELEASE_VERSION = "0.43.1"
|
|
3
|
+
const SDK_SOURCE_COMMIT = "a8dcfd8288e237166b87cb4e2dd017c35b06de74"
|
|
4
4
|
const SDK_PROTOCOL_VERSION = "1.0.0"
|
|
5
|
-
const SDK_IDENTITY = Object.freeze({"releaseVersion":"0.
|
|
5
|
+
const SDK_IDENTITY = Object.freeze({"releaseVersion":"0.43.1","sourceCommit":"a8dcfd8288e237166b87cb4e2dd017c35b06de74","protocolVersion":"1.0.0"})
|
|
6
6
|
module.exports = { SDK_RELEASE_VERSION, SDK_SOURCE_COMMIT, SDK_PROTOCOL_VERSION, SDK_IDENTITY }
|
package/dist/sdk-identity.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const SDK_RELEASE_VERSION = "0.
|
|
2
|
-
export const SDK_SOURCE_COMMIT = "
|
|
1
|
+
export const SDK_RELEASE_VERSION = "0.43.1"
|
|
2
|
+
export const SDK_SOURCE_COMMIT = "a8dcfd8288e237166b87cb4e2dd017c35b06de74"
|
|
3
3
|
export const SDK_PROTOCOL_VERSION = "1.0.0"
|
|
4
|
-
export const SDK_IDENTITY = Object.freeze({"releaseVersion":"0.
|
|
4
|
+
export const SDK_IDENTITY = Object.freeze({"releaseVersion":"0.43.1","sourceCommit":"a8dcfd8288e237166b87cb4e2dd017c35b06de74","protocolVersion":"1.0.0"})
|
package/dist/sdk-identity.json
CHANGED