@nosnibor89/svelte-client-sdk 0.1.22 → 0.1.23
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/LDFlag.svelte
CHANGED
@@ -55,12 +55,14 @@ function createLD() {
|
|
55
55
|
function LDInitialize(clientId, context, options) {
|
56
56
|
coreLdClient = initialize(clientId, context, options);
|
57
57
|
coreLdClient.on('ready', () => {
|
58
|
+
console.log('[LD] flag ready');
|
58
59
|
loading.set(false);
|
59
60
|
const rawFlags = coreLdClient.allFlags();
|
60
61
|
const allFlags = toFlagsProxy(coreLdClient, rawFlags);
|
61
62
|
flagsWritable.set(allFlags);
|
62
63
|
});
|
63
64
|
coreLdClient.on('change', () => {
|
65
|
+
console.log('[LD] flag changed');
|
64
66
|
const rawFlags = coreLdClient.allFlags();
|
65
67
|
const allFlags = toFlagsProxy(coreLdClient, rawFlags);
|
66
68
|
flagsWritable.set(allFlags);
|
package/package.json
CHANGED